From: ben-linux@fluff.org (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 10/12] ARM: S3C24XX: Fix warnings in arch/arm/plat-s3c24xx/gpio.c
Date: Wed, 28 Oct 2009 12:15:51 +0000 [thread overview]
Message-ID: <1256732153-22027-10-git-send-email-ben-linux@fluff.org> (raw)
In-Reply-To: <1256732153-22027-1-git-send-email-ben-linux@fluff.org>
Fix the following warnings from sparse in arch/arm/plat-s3c24xx/gpio.
due to the missing include of <mach/gpio-fns.h>
gpio.c:36:6: warning: symbol 's3c2410_gpio_cfgpin' was not declared. Should it be static?
gpio.c:84:14: warning: symbol 's3c2410_gpio_getcfg' was not declared. Should it be static?
gpio.c:103:6: warning: symbol 's3c2410_gpio_pullup' was not declared. Should it be static?
gpio.c:125:5: warning: symbol 's3c2410_gpio_getpull' was not declared. Should it be static?
gpio.c:138:6: warning: symbol 's3c2410_gpio_setpin' was not declared. Should it be static?
gpio.c:157:14: warning: symbol 's3c2410_gpio_getpin' was not declared. Should it be static?
gpio.c:184:5: warning: symbol 's3c2410_gpio_getirq' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
---
arch/arm/plat-s3c24xx/gpio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-s3c24xx/gpio.c b/arch/arm/plat-s3c24xx/gpio.c
index 95df059..5467470 100644
--- a/arch/arm/plat-s3c24xx/gpio.c
+++ b/arch/arm/plat-s3c24xx/gpio.c
@@ -29,6 +29,7 @@
#include <linux/io.h>
#include <mach/hardware.h>
+#include <mach/gpio-fns.h>
#include <asm/irq.h>
#include <mach/regs-gpio.h>
--
1.6.3.3
next prev parent reply other threads:[~2009-10-28 12:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 12:15 [PATCH 01/12] ARM: S3C24XX: Define a macro to avoid compilation error Ben Dooks
2009-10-28 12:15 ` [PATCH 02/12] ARM: S3C24XX: Introduce S3C2442B CPU Ben Dooks
2009-11-01 21:12 ` Pavel Machek
2009-10-28 12:15 ` [PATCH 03/12] ARM: S3C2410: Fix link if CONFIG_S3C2410_IOTIMING is not set Ben Dooks
2009-10-28 12:15 ` [PATCH 04/12] ARM: S3C: Fix adc function exports Ben Dooks
2009-10-28 12:15 ` [PATCH 05/12] ARM: S3C24XX: arch/arm/plat-s3c24xx: Move dereference after NULL test Ben Dooks
2009-10-28 12:15 ` [PATCH 06/12] ARM: S3C64XX: Fix S3C64XX_CLKDIV0_ARM_MASK value Ben Dooks
2009-10-28 12:15 ` [PATCH 07/12] ARM: S3C64XX: Set rate of crystal mux Ben Dooks
2009-10-28 12:15 ` [PATCH 08/12] ARM: S3C: Add info for supporting circular DMA buffers Ben Dooks
2009-10-28 12:39 ` Mark Brown
2009-10-28 12:47 ` Ben Dooks
2009-10-28 13:15 ` Mark Brown
2009-10-28 12:15 ` [PATCH 09/12] ARM: S3C2440: mini2440: Fix missing CONFIG_S3C_DEV_USB_HOST Ben Dooks
2009-10-28 12:15 ` Ben Dooks [this message]
2009-10-28 12:15 ` [PATCH 11/12] ARM: S3C2440: mini2440: Fix spare warnings Ben Dooks
2009-10-28 12:15 ` [PATCH 12/12] ARM: S3C2410: Fix sparse warnings in arch/arm/mach-s3c2410/gpio.c Ben Dooks
2009-10-28 12:22 ` [PATCH 01/12] ARM: S3C24XX: Define a macro to avoid compilation error Ben Dooks
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=1256732153-22027-10-git-send-email-ben-linux@fluff.org \
--to=ben-linux@fluff.org \
--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).