From patchwork Wed Jul 6 12:52:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102041 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp847447qgy; Wed, 6 Jul 2016 05:49:57 -0700 (PDT) X-Received: by 10.66.47.133 with SMTP id d5mr41237928pan.48.1467809397337; Wed, 06 Jul 2016 05:49:57 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ga3si4041833pab.32.2016.07.06.05.49.57; Wed, 06 Jul 2016 05:49:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754070AbcGFMt4 (ORCPT + 4 others); Wed, 6 Jul 2016 08:49:56 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:58292 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753932AbcGFMtz (ORCPT ); Wed, 6 Jul 2016 08:49:55 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue103) with ESMTPA (Nemesis) id 0MHMsV-1b8Lnp0y15-00E6Qr; Wed, 06 Jul 2016 14:49:42 +0200 From: Arnd Bergmann To: Linus Walleij Cc: Arnd Bergmann , Paul Gortmaker , Laxman Dewangan , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: imx21: include linux/module.h Date: Wed, 6 Jul 2016 14:52:40 +0200 Message-Id: <20160706125254.1663066-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:UbaqhkVC7u0zQyizRZJBFI++D+mzT2JQ9rnk1BRrl5yE8cmRk53 N1hunrSiVMPp8zFfziPw4qnppdc4Uim1BtumCK3gHKMx2MWlGNUCXEuuH342V2VpgDTbjb1 4ndKanUcfKe1t/wt0OILQC+DBi/4KQBMCdrG+qeZk7XeQXynlN2LXo7KlPxxVFE3uhBq/IG b0WlVDms9Wq3rWoHhHXjA== X-UI-Out-Filterresults: notjunk:1; V01:K0:NDv6GqHh0to=:LoSXuzFrBb5BS/VImFkUvy lxy+BUreWoO6VtkIvI8vpnmXa0HhhxEWKlK74XE0qhZJObLHXWDTe6pHsvcbsowDqOfhntPae C1DePdzFUia+mBCetrgwSnOyU8dtXKuT55mdxCStiQY7yLJERUoS3T2sDUZZTjvPOoZuMB3Da 8Rc2pqgEvvIHd5XdNelDK+PMzIk0MSypXf6JSU+f466H7wWuYPDNca6S5EaBbR54ZD2ma0M23 ta0proOwJ10DeDY4XPYXcRTgZm8fyl6CCvxFlAnU0qqQnAJXHsO/oySPRolw/kY3PiFXOfIWz Zr6g/ECcfJxGm4kkjSoxlNeTMNRJawGmz6fX5Ef4LuCmxLgKTb7yhl01FmSDvTuPRT+TRP7hl m5sS4NUe04t6u9OvRoU8C8ic/d0nEHCX4h5MPpkDs7dY2LkVijsWS2ZqBt8SUY2Y9UjQbia2d HyMjzJLpp7VQ++tt6INuhZqCqo9zcOFPRt1n0qmrFQuxEOUoIObm9zb10vW6S+sJsQuDRdwHy +w1zvvunZjIVlN7Oxjs8DVGNQZSyV9tpjQ10X+EPmQbbFl1PypY8cjVewRMFaidcusAHIT9eN 752tvEc0yN2vum0VJ7sMhKrXuXsRIvIExB5U/mkT/55k+fpzx0+ZXXaZwuCr7H6uKCGLHRfuA hjdQLrvgOzXYQQOZNlw1ka9JkhPxBMP1/lxm8FG7W1mrAP1R1FfxC2ZK/roTOCQd0M5U= Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The pinctrl driver includes a device table, but the macro used for declaring it is declared in a header that is not visible here: drivers/pinctrl/freescale/pinctrl-imx21.c:328:1: error: data definition has no type or storage class [-Werror] MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match); This adds the missing include. Signed-off-by: Arnd Bergmann Fixes: e2756baa4217 ("pinctrl: imx21: make it explicitly non-modular") --- drivers/pinctrl/freescale/pinctrl-imx21.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pinctrl/freescale/pinctrl-imx21.c b/drivers/pinctrl/freescale/pinctrl-imx21.c index b9f9b3b8eeb1..8cf33d608164 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx21.c +++ b/drivers/pinctrl/freescale/pinctrl-imx21.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "pinctrl-imx1.h"