From patchwork Tue Feb 13 01:32:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 10215005 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 98D9D60236 for ; Tue, 13 Feb 2018 01:33:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A8C52896D for ; Tue, 13 Feb 2018 01:33:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7EAE92897F; Tue, 13 Feb 2018 01:33:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD4A02896D for ; Tue, 13 Feb 2018 01:33:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933099AbeBMBdD (ORCPT ); Mon, 12 Feb 2018 20:33:03 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:41256 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933047AbeBMBdD (ORCPT ); Mon, 12 Feb 2018 20:33:03 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1D1WkGa031869; Mon, 12 Feb 2018 19:32:46 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1518485566; bh=w8VSsLjqoViPQSME7yeEQHnGUQxd7RfnNokQcJS0AzY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kdxQwH5u6qMSRKws1F+xJw8co9c8lIcA/o+IQW4CM0WuioHk0KaPsui8FntPXjk4p cc6KAs8UYzgvFkPtJlkevteb0j/XYASUJGMxNbWhp7AoeF95QjeVYqggeGACimaWIf uP6Q+Yz39FjWRlElwhaZwQVg5OMdkzEQ508KxIaE= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1D1WkeK005126; Mon, 12 Feb 2018 19:32:46 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Mon, 12 Feb 2018 19:32:46 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Mon, 12 Feb 2018 19:32:45 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1D1Wkhw005701; Mon, 12 Feb 2018 19:32:46 -0600 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w1D1Wjx01767; Mon, 12 Feb 2018 19:32:46 -0600 (CST) From: Suman Anna To: Tony Lindgren CC: , , Tero Kristo , Keerthy , Suman Anna , Ulf Hansson Subject: [PATCH 2/9] mmc: hsmmc_omap: include types.h and provide header inclusion guard Date: Mon, 12 Feb 2018 19:32:36 -0600 Message-ID: <20180213013243.8378-3-s-anna@ti.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180213013243.8378-1-s-anna@ti.com> References: <20180213013243.8378-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The hsmmc-omap platform data header file uses some u8/u16/u32 types, so include the linux types.h header file so that it is self-contained. The lack of this header caused some build errors while cleaning up some other header files from various omap_hwmod data files. While at this, also add the missing header inclusion guard. Cc: Ulf Hansson Signed-off-by: Suman Anna --- Hi Ulf, This patch is part of a hwmod cleanup series, and is needed before I can do the cleanup in those files. So prefer to have this patch go through Tony as part of the series. regards Suman include/linux/platform_data/hsmmc-omap.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/linux/platform_data/hsmmc-omap.h b/include/linux/platform_data/hsmmc-omap.h index 73d9098ada2d..9573b87dae14 100644 --- a/include/linux/platform_data/hsmmc-omap.h +++ b/include/linux/platform_data/hsmmc-omap.h @@ -24,6 +24,12 @@ * Operation Issue" in _OMAP3530/3525/3515/3503 Silicon Errata_ * Revision F (October 2010) (SPRZ278F). */ + +#ifndef __LINUX_PLATFORM_DATA_OMAP_HSMMC_H__ +#define __LINUX_PLATFORM_DATA_OMAP_HSMMC_H__ + +#include + #define OMAP_HSMMC_SUPPORTS_DUAL_VOLT BIT(0) #define OMAP_HSMMC_BROKEN_MULTIBLOCK_READ BIT(1) #define OMAP_HSMMC_SWAKEUP_MISSING BIT(2) @@ -79,3 +85,5 @@ struct omap_hsmmc_platform_data { const char *name; u32 ocr_mask; }; + +#endif