From patchwork Tue Mar 18 17:15:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 3848731 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6AB559F369 for ; Tue, 18 Mar 2014 17:18:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3A41F2037F for ; Tue, 18 Mar 2014 17:18:22 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A8A69202FF for ; Tue, 18 Mar 2014 17:18:17 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPxdx-0000dj-Vz; Tue, 18 Mar 2014 17:17:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPxdS-0000jx-Gk; Tue, 18 Mar 2014 17:17:06 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPxd8-0000gp-29 for linux-arm-kernel@lists.infradead.org; Tue, 18 Mar 2014 17:16:50 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N2N001J66N9V590@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 18 Mar 2014 17:16:21 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-09-53287f644ab5 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 97.05.23059.46F78235; Tue, 18 Mar 2014 17:16:20 +0000 (GMT) Received: from AMDC1227.digital.local ([106.116.147.199]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N2N009RN6N5CJ00@eusync1.samsung.com>; Tue, 18 Mar 2014 17:16:20 +0000 (GMT) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 1/6] serial: s3c: Fix build of header without serial_core.h preinclusion Date: Tue, 18 Mar 2014 18:15:59 +0100 Message-id: <1395162964-5916-1-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.9.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLJMWRmVeSWpSXmKPExsVy+t/xy7op9RrBBq+bzSz+TjrGbrHp+nVW i94FV9ks3h96xmyx6fE1VosZ5/cxWZy6/pnNYv2M1ywOHB6/f01i9LhzbQ+bx+Yl9R63/z1m 9rhyoonVo2/LKkaPz5vkAtijuGxSUnMyy1KL9O0SuDL+PTjNVLCWreLwh27WBsZlrF2MnBwS AiYSHTMfskPYYhIX7q1n62Lk4hASWMoo8WjWHXYIp49J4vSEfYwgVWwCahKfGx6xgdgiAqoS n9sWgBUxC3xllPhx4wnYWGGBWIn+k6/BiliAitauXAVm8wo4Suz618ECsU5OYsrvBewTGLkX MDKsYhRNLU0uKE5KzzXUK07MLS7NS9dLzs/dxAgJoi87GBcfszrEKMDBqMTDKxmrESzEmlhW XJl7iFGCg1lJhHe1O1CINyWxsiq1KD++qDQntfgQIxMHp1QDo8WisxJWdZysMRLKWQIcD7Vt jGV2yQqsX8aXvGOj+8m7J8wb1DgbCrN777DfyGCOl1hYxh+60Mr+0qafywo9O4qb1rck6/3b Zuh6ZXebxJMVMTuMP9q++DzxjPsN5Ywrjx+wdMRZNrxrmB1c9m/5/AfqTVwbZ4fttnHg27gq I9H5fs9mr7qpSizFGYmGWsxFxYkAOeuGsQACAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140318_131646_224957_A4FAC92A X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: Kukjin Kim , Arnd Bergmann , Mark Brown , Tomasz Figa , linaro-kernel@lists.linaro.org, Olof Johansson , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mark Brown serial_s3c.h uses upf_t which is defined in serial_core.h but does not include that itself meaning that users which include serial_s3c.h by itself don't build. Signed-off-by: Mark Brown [t.figa: Moved inclusion under #ifndef __ASSEMBLY__ to fix mach-exynos.] Signed-off-by: Tomasz Figa --- include/linux/serial_s3c.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/serial_s3c.h b/include/linux/serial_s3c.h index 907d9d1..e6fc956 100644 --- a/include/linux/serial_s3c.h +++ b/include/linux/serial_s3c.h @@ -233,6 +233,8 @@ #ifndef __ASSEMBLY__ +#include + /* configuration structure for per-machine configurations for the * serial port *