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: 3854621 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 A7DB19F369 for ; Wed, 19 Mar 2014 17:51:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D61F8201F5 for ; Wed, 19 Mar 2014 17:51:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4BBFB2021C for ; Wed, 19 Mar 2014 17:51:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754442AbaCRRQY (ORCPT ); Tue, 18 Mar 2014 13:16:24 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:44414 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753950AbaCRRQX (ORCPT ); Tue, 18 Mar 2014 13:16:23 -0400 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-samsung-soc@vger.kernel.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 Cc: linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, Mark Brown , Kukjin Kim , Arnd Bergmann , Olof Johansson , Tomasz Figa 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= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 *