From patchwork Thu Jan 9 14:31:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mateusz Zalega X-Patchwork-Id: 308822 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 7EC5C2C00BB for ; Fri, 10 Jan 2014 01:40:21 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 76D9F4ABAB; Thu, 9 Jan 2014 15:40:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id II7liIhDhgIz; Thu, 9 Jan 2014 15:40:18 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 66B374ABAC; Thu, 9 Jan 2014 15:40:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C5A2B4AB31 for ; Thu, 9 Jan 2014 15:39:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F91XH+4HDctW for ; Thu, 9 Jan 2014 15:39:47 +0100 (CET) X-Greylist: delayed 608 seconds by postgrey-1.27 at theia; Thu, 09 Jan 2014 15:39:41 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mailout3.w1.samsung.com (mailout3.w1.samsung.com [210.118.77.13]) by theia.denx.de (Postfix) with ESMTPS id 3ED2B4AA7C for ; Thu, 9 Jan 2014 15:39:41 +0100 (CET) Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MZ5002TD1L7SDA0@mailout3.w1.samsung.com> for u-boot@lists.denx.de; Thu, 09 Jan 2014 14:29:31 +0000 (GMT) X-AuditID: cbfec7f5-b7fc96d000004885-6e-52ceb24b6d8a Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 62.F6.18565.B42BEC25; Thu, 09 Jan 2014 14:29:31 +0000 (GMT) Received: from kernelpanic.DIGITAL.local ([106.120.53.14]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MZ5004DQ1L7WS60@eusync4.samsung.com>; Thu, 09 Jan 2014 14:29:31 +0000 (GMT) From: Mateusz Zalega To: u-boot@lists.denx.de Date: Thu, 09 Jan 2014 15:31:51 +0100 Message-id: <1389277919-15279-1-git-send-email-m.zalega@samsung.com> X-Mailer: git-send-email 1.8.2.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAJMWRmVeSWpSXmKPExsVy+t/xa7rem84FGfz6oW5xtukNu8Xcd1OY LDqOtDBavN3bye7A4nH2zg5Gj74tqxgDmKK4bFJSczLLUov07RK4Mn6ua2AtmMZWMenoUpYG xhmsXYycHBICJhJzd29hhrDFJC7cW8/WxcjFISSwlFHi4vv9TBBOP5PEvzdP2UCq2AS0JW7s nc8OYosISEj86r/K2MXIwcEsUCWx958/SFhYQENi9oe1jCA2i4CqxI9LC1lAbF4BF4nG/feg lilIHN++jXECI/cCRoZVjKKppckFxUnpuUZ6xYm5xaV56XrJ+bmbGCG+/rqDcekxq0OMAhyM Sjy8K4rPBgmxJpYVV+YeYpTgYFYS4TXecC5IiDclsbIqtSg/vqg0J7X4ECMTB6dUA2ONdlHA rkez3KpmaKxc2/kr7OmZKVP/aX5awViqHrlGYurCnQZCIY+1/BJPxwu8rl6UXtfEeO/T4v2Z 33uDeWzlnu6NCam5di9AML8jYPm8jWHPeF6Frv5pdaqKcZnJd3UZybP57fOfnZyeVp7Wev/+ /8R4w14L7oe3Z7f9YfRedJKt57GeUrMSS3FGoqEWc1FxIgCwLZps0wEAAA== Cc: Kyungmin Park Subject: [U-Boot] [PATCH 1/9] mmc: mmc header fix X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Change-Id: I3ccf56ce1e5334c32a7bc061e8bd9a5054ccb7f5 Signed-off-by: Mateusz Zalega Cc: Minkyu Kang Cc: Kyungmin Park Acked-by: Jaehoon Chung --- include/mmc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/mmc.h b/include/mmc.h index cb558da..e490a06 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -12,6 +12,7 @@ #include #include +#include #define SD_VERSION_SD 0x20000 #define SD_VERSION_3 (SD_VERSION_SD | 0x300)