From: avinashphilipk@gmail.com (Philip Avinash)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] gpio: gpio-tnetv107x: Fix bulid breakge
Date: Fri, 14 Jun 2013 15:27:49 +0530 [thread overview]
Message-ID: <1371203869-16308-3-git-send-email-avinashphilipk@gmail.com> (raw)
In-Reply-To: <1371203869-16308-1-git-send-email-avinashphilipk@gmail.com>
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(+)
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>
--
1.7.9.5
next prev parent reply other threads:[~2013-06-14 9:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 9:57 [PATCH 0/2] Fix build breakage for tnetv107x platforms Philip Avinash
2013-06-14 9:57 ` [PATCH 1/2] ARM: davinci: fix for " Philip Avinash
2013-06-20 9:24 ` Sekhar Nori
2013-06-14 9:57 ` Philip Avinash [this message]
2013-06-19 19:06 ` [PATCH 0/2] Fix " Linus Walleij
2013-06-20 9:22 ` Sekhar Nori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371203869-16308-3-git-send-email-avinashphilipk@gmail.com \
--to=avinashphilipk@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).