From patchwork Tue Mar 6 12:55:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 7113 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B09D323DEA for ; Tue, 6 Mar 2012 12:56:29 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 5F070A18326 for ; Tue, 6 Mar 2012 12:56:29 +0000 (UTC) Received: by iage36 with SMTP id e36so9423798iag.11 for ; Tue, 06 Mar 2012 04:56:28 -0800 (PST) Received: from mr.google.com ([10.42.147.199]) by 10.42.147.199 with SMTP id o7mr16168816icv.50.1331038588797 (num_hops = 1); Tue, 06 Mar 2012 04:56:28 -0800 (PST) Received: by 10.42.147.199 with SMTP id o7mr13318013icv.50.1331038588705; Tue, 06 Mar 2012 04:56:28 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp56555ibg; Tue, 6 Mar 2012 04:56:27 -0800 (PST) Received: by 10.213.8.132 with SMTP id h4mr784241ebh.43.1331038586982; Tue, 06 Mar 2012 04:56:26 -0800 (PST) Received: from eu1sys200aog120.obsmtp.com (eu1sys200aog120.obsmtp.com. [207.126.144.149]) by mx.google.com with SMTP id p4si15842468eef.87.2012.03.06.04.56.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 04:56:26 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.149 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.149; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.149 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob120.postini.com ([207.126.147.11]) with SMTP ID DSNKT1YJa1NyoHvhevt4p6JxLXZbNK5AJSjS@postini.com; Tue, 06 Mar 2012 12:56:26 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 1EA65E8; Tue, 6 Mar 2012 12:47:38 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id EB006C13; Tue, 6 Mar 2012 12:56:02 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 2F7EBA8065; Tue, 6 Mar 2012 13:55:57 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 6 Mar 2012 13:56:01 +0100 From: Linus Walleij To: , Cc: Stephen Warren , Shawn Guo , Thomas Abraham , Dong Aisheng , Rajendra Nayak , Haojian Zhuang , Linus Walleij Subject: [PATCH] pinctrl: include machine header to core.h Date: Tue, 6 Mar 2012 13:55:57 +0100 Message-ID: <1331038557-1398-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.8 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlnbV8/5+YOLHIHKFuNWwDuZPbvOVqeRNCCJ6/ZaazI35yZ3Erp2aT3nT4ygV65gUd6idDE From: Linus Walleij struct pinctrl_setting contains an enum pinctrl_map_type field, so we need to include machine.h. Also fix kerneldoc to indicate that the pinctrl_setting is about both muxing and other config. Signed-off-by: Linus Walleij --- drivers/pinctrl/core.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/pinctrl/core.h b/drivers/pinctrl/core.h index 5b3ff13..42fb0ea 100644 --- a/drivers/pinctrl/core.h +++ b/drivers/pinctrl/core.h @@ -12,6 +12,7 @@ #include #include #include +#include struct pinctrl_gpio_range;