Message ID | 1371203869-16308-3-git-send-email-avinashphilipk@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <davinci-linux-open-source-bounces@linux.davincidsp.com> X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5CEEBC0AB1 for <patchwork-davinci@patchwork.kernel.org>; Fri, 14 Jun 2013 09:57:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 84B8320240 for <patchwork-davinci@patchwork.kernel.org>; Fri, 14 Jun 2013 09:57:21 +0000 (UTC) Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FC1B20227 for <patchwork-davinci@patchwork.kernel.org>; Fri, 14 Jun 2013 09:57:20 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5E9uBOS022477; Fri, 14 Jun 2013 04:56:11 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5E9uBPI032417; Fri, 14 Jun 2013 04:56:11 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Fri, 14 Jun 2013 04:56:10 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r5E9uBiH028549; Fri, 14 Jun 2013 04:56:11 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 1335A80627; Fri, 14 Jun 2013 04:56:11 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlelxv90.itg.ti.com (dlelxv90.itg.ti.com [172.17.2.17]) by linux.omap.com (Postfix) with ESMTP id 54DCD80626 for <davinci-linux-open-source@linux.davincidsp.com>; Fri, 14 Jun 2013 04:56:09 -0500 (CDT) Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5E9u9pI032341; Fri, 14 Jun 2013 04:56:09 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Fri, 14 Jun 2013 04:56:08 -0500 Received: from ucmsshproxy.india.ext.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with SMTP id r5E9u537028450; Fri, 14 Jun 2013 04:56:06 -0500 Received: from symphony.india.ext.ti.com (unknown [192.168.247.13]) by ucmsshproxy.india.ext.ti.com (Postfix) with ESMTP id 1E3CF158003; Fri, 14 Jun 2013 15:26:05 +0530 (IST) Received: from ubuntu-psp-linux.india.ext.ti.com (ubuntu-psp-linux [192.168.247.46]) by symphony.india.ext.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id r5E9u4R07774; Fri, 14 Jun 2013 15:26:04 +0530 (IST) From: Philip Avinash <avinashphilipk@gmail.com> To: <nsekhar@ti.com>, <khilman@deeprootsystems.com>, <linux@arm.linux.org.uk>, <grant.likely@secretlab.ca>, <linus.walleij@linaro.org> Subject: [PATCH 2/2] gpio: gpio-tnetv107x: Fix bulid breakge Date: Fri, 14 Jun 2013 15:27:49 +0530 Message-ID: <1371203869-16308-3-git-send-email-avinashphilipk@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1371203869-16308-1-git-send-email-avinashphilipk@gmail.com> References: <1371203869-16308-1-git-send-email-avinashphilipk@gmail.com> MIME-Version: 1.0 CC: <davinci-linux-open-source@linux.davincidsp.com>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org> X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: <davinci-linux-open-source.linux.davincidsp.com> List-Unsubscribe: <http://linux.davincidsp.com/mailman/options/davinci-linux-open-source>, <mailto:davinci-linux-open-source-request@linux.davincidsp.com?subject=unsubscribe> List-Archive: <http://linux.davincidsp.com/pipermail/davinci-linux-open-source> List-Post: <mailto:davinci-linux-open-source@linux.davincidsp.com> List-Help: <mailto:davinci-linux-open-source-request@linux.davincidsp.com?subject=help> List-Subscribe: <http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source>, <mailto:davinci-linux-open-source-request@linux.davincidsp.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: <davinci-linux-open-source-bounces@linux.davincidsp.com> Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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 |
diff --git a/drivers/gpio/gpio-tnetv107x.c b/drivers/gpio/gpio-tnetv107x.c index 3fa3e28..c7ed335 100644 --- a/drivers/gpio/gpio-tnetv107x.c +++ b/drivers/gpio/gpio-tnetv107x.c @@ -14,6 +14,7 @@ */ #include <linux/kernel.h> #include <linux/init.h> +#include <linux/io.h> #include <linux/gpio.h> #include <mach/common.h>
includes linux/io.h for fixing following build error. This build error comes only after removing select option of NEED_MACH_GPIO_H for ARCH_DAVINCI. linux/io.h is got included from mach/gpio-davinci.h on selection of NEED_MACH_GPIO_H. drivers/gpio/gpio-tnetv107x.c: In function 'tnetv107x_gpio_request': drivers/gpio/gpio-tnetv107x.c:63:2: error: implicit declaration of function '__raw_writel' drivers/gpio/gpio-tnetv107x.c:63:2: error: implicit declaration of function '__raw_readl' drivers/gpio/gpio-tnetv107x.c: In function 'tnetv107x_gpio_setup': drivers/gpio/gpio-tnetv107x.c:172:2: error: implicit declaration of function 'ioremap' drivers/gpio/gpio-tnetv107x.c:172:7: warning: assignment makes pointer from integer without a cast Signed-off-by: Philip Avinash <avinashphilipk@gmail.com> --- drivers/gpio/gpio-tnetv107x.c | 1 + 1 file changed, 1 insertion(+)