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: 128180 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3763746ljc; Mon, 12 Feb 2018 17:33:05 -0800 (PST) X-Google-Smtp-Source: AH8x227Bt6eHOmR4IQ2XR/OdHPtXb3SL7DSkHmcMjxdWC77YJS1Nd0S0E/syg1Iesh8Xo1adsB50 X-Received: by 10.99.67.130 with SMTP id q124mr10884966pga.281.1518485585548; Mon, 12 Feb 2018 17:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518485585; cv=none; d=google.com; s=arc-20160816; b=ODEy7R84oETaOrRz/77Crjjlx5ZdfVHguHgwUuDQvn2FoQ0zUyXCB2DmvVzL5GxbzB oL58AlIKRbv7joZxM2Hm0u5eBHtHW4cAA50kRQRM5olxKDfCOjIS2IbNuoreZ9nVeyMO p8Dc63qPhc4gRg0OOa4qD8A2D2F9JOi/mwAwYKdsdOh/koSVysOt0POF0DBe7O629plN 2ERBsrgXCWKv7ZaR72G0IgHFoumF0Z7uLZKzMSaCemyA6+ZMEgePrnRX2YLzWpJsY9bc EojGfrwn+9pTvAm2uCzM63BVuw/gDzTr4Aro8Ucc3RN3H+z+War3ZCeuFKlLM0voiDcp ZJjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=WzPEQHrK0JB4zK/NLcfPCH3/Q0T4xDlOiQ7KBhoDoqc=; b=QTI9rkPY1C50W3c6M14iXOMtkj8k2SEIm4x1cqe5wruT84q7kefdzMLO+N9B3BVnRT XqBA/ZU2Yyz0bjoBQ7mCsizLWZ4bynizBuOKw2I2Qp6dqOzhsjZ7dySBp1qzFzuDwMv3 Wm2fZr1/yRwbSc/47IKcvyHIij795z8vkHhvLKX1u1Uk9t6ulp14x7FQIHiI43qLg1mW dZ2Js/X1fDR9BzDExiy/xFi8ZJHBshNOlYAaaCjUZi1fmy79TzHQdhVX7KQ0saTv7ZJg U7+YFWQt3feR1cSv0TBM9CP4Vc7W9LZSZlRypJaj8eQTRFEn8JvSHUISMtWOskh6yrdg /b2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=kdxQwH5u; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=QUARANTINE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10-v6si343954plt.185.2018.02.12.17.33.04; Mon, 12 Feb 2018 17:33:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=kdxQwH5u; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=QUARANTINE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933099AbeBMBdD (ORCPT + 5 others); 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 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(+) -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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