From patchwork Tue Nov 17 09:53:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zhiqiang Hou X-Patchwork-Id: 7635461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 11CD4BF90C for ; Tue, 17 Nov 2015 10:43:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4A6292043C for ; Tue, 17 Nov 2015 10:43:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6376320437 for ; Tue, 17 Nov 2015 10:43:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zydhn-00065g-TT; Tue, 17 Nov 2015 10:41:43 +0000 Received: from mail-bn1bon0141.outbound.protection.outlook.com ([157.56.111.141] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zyd5U-0002S9-9n for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 10:02:14 +0000 Received: from CH1PR03CA003.namprd03.prod.outlook.com (10.255.156.148) by CY1PR0301MB1259.namprd03.prod.outlook.com (10.161.213.11) with Microsoft SMTP Server (TLS) id 15.1.318.15; Tue, 17 Nov 2015 10:01:45 +0000 Received: from BN1AFFO11FD038.protection.gbl (10.255.156.132) by CH1PR03CA003.outlook.office365.com (10.255.156.148) with Microsoft SMTP Server (TLS) id 15.1.325.17 via Frontend Transport; Tue, 17 Nov 2015 10:01:44 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: PermError (protection.outlook.com: domain of freescale.com used an invalid SPF mechanism) Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD038.mail.protection.outlook.com (10.58.52.242) with Microsoft SMTP Server (TLS) id 15.1.325.5 via Frontend Transport; Tue, 17 Nov 2015 10:01:43 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id tAHA1ZVA022452; Tue, 17 Nov 2015 03:01:36 -0700 From: Zhiqiang Hou To: , , , , , , Subject: [PATCHv8 1/5] i2c: imx: fix a compiling error Date: Tue, 17 Nov 2015 17:53:18 +0800 Message-ID: <1447754002-40555-1-git-send-email-Zhiqiang.Hou@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD038; 1:JP+c9Op8PMN7MoPEa02ZRTWX0hokkSZQNi1I6yBoBg5U/GNT50g6VQgAYj0kFZMEh4Qwa3Nni9N1FD0YsUSZJGefQPiUcpDI8OQa1t3jlV5bYV6SyuuADUBYJ2i+0mPYQRJAo27m2JmtZQiUu09O1+fsoElD6oSj0ldJOpgv0fXIHBcsMMizOwYJuOva86kphNTBD5F/CGxORx6MGceT7YMul+Qow7t2+sZzwtfSvsuo9MRrpGOUeS4EmGkny6GUFncnYczY6FCQOYhVt3Rl3LyZLkZSUNiO2yIWAkuooID++eTI8WYZEmU38awtI+/yIAXULO1Nq2XvMKlBvHpwNSgiKQrVkC5+2LH3MY/3xUhxD+vAiA+sxs8Rd9dBh4HAuMXfJD+L3e2JTeZ2ve/UEw== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(199003)(189002)(92566002)(87936001)(85326001)(50986999)(77096005)(106466001)(229853001)(36756003)(189998001)(5008740100001)(5001920100001)(107886002)(5001770100001)(6806005)(5001960100002)(81156007)(97736004)(5820100001)(104016004)(23676002)(2201001)(86362001)(575784001)(50466002)(5007970100001)(586003)(69596002)(19580405001)(19580395003)(50226001)(4001430100002)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB1259; H:az84smr01.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1259; 2:W152UJ0sBSRY/iB3WUFGrLoDRLtEcdX0NVT3jLQIXcfBBFSADBWW/0DUA9P/yCakBlXM65Kcyc+fKNuZUda728RspwTUZRJVF4gH13NUmLayrDnFVqWT2QzyWE/igsHYK5tUBvNemjUPCNH7V7pJP27DaePBT/shyG8jLX3+Prs=; 3:W83f2U2IkpxdsTv4FpN9tNTucGxzq95oVGznbRxeJGVnzdyGbxE/Bp5SWquRHx00qxFmeD49S++VYCBdDvCzYv67RYlkt3UvDrF677F6KKuXUfiLol5ssScVBO/a7LRpb9ZWmHwlgbw8j7wRy1gjwD3EJ6vdjPeXN5RQDNx1iFGULkw16Iytxgcu8Ts8KmFCCU0VO0QU28wfVEFZuJpCv+j+nqO831CZGzypPnI5rr0=; 25:Bn3lU90/3OMO2RTy0Nk1rfexvbC0kGrX7dZbJfUiaU6Uj9JWHfvmAZBoM/TLzL9SC2hsNWW23ibIWnsupzva8oPBQHCjR+tqllfOb5+xNHX7yucUVBhAKYvacUknJXKB1pKMCmb/dfc9qFRKHKWpmW7DxeDT+G9cwGufP5FjXFaTqKaZ2HfcajsY/UfZ6g7/j2XpDQPFXcEKxKpxgypPo6kFsOs0mV0wBJFHGMTuNvCkBGn2isRpFupSShltKgPvEhLOV7By0spZ5BMYQvoAGg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1259; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1259; 20:X4ZNPMu0Besa+7C9V92ejdGug5Z/e/oY1tgXdD3iS31drTCEnDuxLrj92FxtGLrEOeaBs00YsrPnWISpXbUOFcJ9CsrYyxKi734VDLou0ln2BOkzqjffQrW9QqX5Bm2MbGApCG3pUcq6ScF7hz88pcte6EDYfwv+KFSIYUHXZo+tSUg9832lUbMLo55mPPPvyqEtzL2nSeZ2pzcm0pOkJPsbn2Fv4FSuImNq/r0fXCviyVXrvJ1d8MK3DfUtqHcZ4z+7fw4iyhBpWIbcWcbUkoujKbVE1tNdqijLDS+O26ZLD6IWobpQPa/Uf/KpOuHVlqxy2rJ3Ig1VD7C4bjG9s5EJ3Z2geqYshd8NXLRoj6I=; 4:/y/NBPHbwqqs2BLt+rdGltYalOS7B93Kc6/NMnN8WwCmkB50KwHvMAEcUJEa/KPnyNaDNtTXvTQIivHrCvpw6PdQ9LrXBTtVatwNIvaO/5irP8FhJBVOqwEiNYVj2wNHQKcvzpLwVtObGVdvJD6EgOzCYNjXPOwXWRD++f2BZHuXgzcFfhiCCN9CEdYi3xi4n1PHc8KgvrZBXIH+bZLnoFpUGdK7V/38zANC/9ZEa767WMn7+ujjPKgrQQSZUxw02KBOduDOidsAjQJatzXZXwdQXNwFGK7X2BqObwuAGPtoB9tC6sB+jKfdr1Il3p7Vhb1GZ7st3lgsDLMn3JPoXaNJOe/1+nywVUTT852q8BMaKaInkesVZg59XcvVaLTv X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001)(10201501046); SRVR:CY1PR0301MB1259; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB1259; X-Forefront-PRVS: 07630F72AD X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjAzMDFNQjEyNTk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bnhEVlkycHBVOTl0NlBWOGROY2tqbSs5c0tjbk52NExJUmU4RWNVL0JJ?= =?utf-8?B?VXEwcTVtMXU3RmpucTlaaHJkNHh1L0lsN1BqSThXYUVZNDhIU2draDZja2dX?= =?utf-8?B?akd0Mkw5VGxFMjc0ek9hNEFZKzVjR1VaQVZ3QkVzQzVkY3pSVkFBeFd4VjFa?= =?utf-8?B?RkZlMG1nVUk2K3JWMDBiWk9vUGdMTHljUnU0Y1VFZytORHErYnpoQm5lbXJC?= =?utf-8?B?QnlnVlNyTDlINGN6T1R1UWU2eW9ZcmluMjNzbjlqb0N6Y3gzbEJvUExVNXNx?= =?utf-8?B?UGlUdENuUkd0U1VFMGNzQmdlNVllWlFQb1ZhRlR6RElNMDEyWlo0UGFlY3R4?= =?utf-8?B?Y0lDK2ZYbWc2ZUt3NFBmZndaVWlHanJiZVVJNzF3eVIvTkVQZy9pRGpVWEgy?= =?utf-8?B?Y0xXbzd0bHJncFNBV05vNGhZQTZtWTlHUXZMYXdtc2VYRlBxZGcwSHlmTGlJ?= =?utf-8?B?U09ISWYzMTVkRkNaQkhUVUsrMHNsK0RiM2t0eU01V3c9PQ==?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1259; 5:X374a4nVO680jaKWDavnqoDIuVxhcVr7zqHn94UmABfCAQYo6fis/XC5p74e+qtNrKHZoAT9VdXdb4QMD5r9hPoGh9ZuZ8lwIWdF7KWgR4LHcy2HwYMODvoUqU9+/GJJQsSCbIbq5ma+CDq2EkGEtA==; 24:ATbMF/Q/tkcaLk/glJWYa+DLUtSy+8WAqyUX90XyTtsb3tEgPG3ILwk2f8VmM2B5ly4f7tVl5vlajtnE7o/96VBiWbexdjJ5XiXSyN737WM=; 20:GkCu8CbCbo7NRDyvgLzQ3t98v3H9sUxd8zeHr5axljweOhCf7rbg9s/9izy3sE85JoD75gTx1+MZQaIGSrGiUg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2015 10:01:43.9429 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1259 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_020209_468055_EE00C209 X-CRM114-Status: GOOD ( 11.12 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, B48286@freescale.com, Shaohui.Xie@freescale.com, corbet@lwn.net, bhupesh.sharma@freescale.com, mturquette@baylibre.com, wsa@the-dreams.de, sboyd@codeaurora.org, wim@iguana.be, Wenbin.Song@freescale.com, scottwood@freescale.com, Mingkai.Hu@freescale.com, Hou Zhiqiang , linux@roeck-us.net 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.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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: Hou Zhiqiang drivers/i2c/busses/i2c-imx.c:978:2: error: implicit declaration of function ‘pinctrl_select_state’ [-Werror=implicit-function-declaration] pinctrl_select_state(i2c_imx->pinctrl, i2c_imx->pinctrl_pins_gpio); ^ Signed-off-by: Hou Zhiqiang --- V8: - New patch. drivers/i2c/busses/i2c-imx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 1e4d99d..9bb0b05 100644 --- a/drivers/i2c/busses/i2c-imx.c +++ b/drivers/i2c/busses/i2c-imx.c @@ -50,6 +50,7 @@ #include #include #include +#include #include #include #include