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: 10215015 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 E431A60236 for ; Tue, 13 Feb 2018 01:33:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D53E028978 for ; Tue, 13 Feb 2018 01:33:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C621828988; Tue, 13 Feb 2018 01:33:10 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4E1D12896D for ; Tue, 13 Feb 2018 01:33:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dndMuR8dwQPuyV+AcWiCmMGIVSYy7Pdq6mHaGy62/MI=; b=iqnaVUayBJS1KgtGYR0YB46rT qDQeAIItLey+J88pO+M5p2YY9vXaE2RsXSDxQzZXN/wwZv3Sx3kzW9HcLBbf49xsy+mPSFpmZdX3W h6jn1HmhPrF3dEiSfN3CDj/Xu7bLoJss41dfV+18S86H1DREBHXWPoJtyLVADTEDQ15jPOjxPIDHM kd7Q+ekW4ZgFZrhMOreWZ4pF9zgUF0FJnuTLMO/YqxCsxl0AP0wMmuWnftMsUrb6fFLtdQ5IicbV5 ayk32LmpUIKOqeODAP+mQPOvUXVVo4t7X9hw93x75O+OJTfbm871LaRk4w/JgKUCgDj1cs6PIhuCV XmuxWKF5Q==; Received: from bombadil.infradead.org ([198.137.202.133]) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elPT2-0001p8-K2; Tue, 13 Feb 2018 01:33:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dndMuR8dwQPuyV+AcWiCmMGIVSYy7Pdq6mHaGy62/MI=; b=kLbPc55+VyHc/1zGumcoKh5rn HSPXYH7RmqOCS9IAPe2aGEVw1wP25O261UsLSfB162+/yOm29apEBOM+HYWD3OMhu+2EYat8xVhL+ gFBEXptv79aq6++vG3SrXx4zmuml2/u1ppioz/rul3CsxDWkXmoli4uAdJ0NJdz7bMwllBBc3oO40 hMbBrlSpuF9MME4COOeuWf03gH+guBmPuQdcu6tKXdAbYd4APp6fShjq08SHOikMaSIZimOHqwU7o nps/IAq8/zESDkjTaob2U6dHJORbI3Ao3fbFQKGYAeED6ID4nT4JnbAmU89gF5Ke/f5l2aMtaDANZ VgAYPIn4w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1elPSz-0008Rq-JU; Tue, 13 Feb 2018 01:33:05 +0000 Received: from lelnx194.ext.ti.com ([198.47.27.80]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elPSu-0008Pp-TX for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2018 01:33:02 +0000 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 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 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , Keerthy , Tero Kristo , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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