projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13c608d
)
ARM: S3C64XX: Staticise non-exported GPIO to interrupt functions
author
Mark Brown
<
[email protected]
>
Thu, 3 Mar 2011 22:55:44 +0000
(07:55 +0900)
committer
Kukjin Kim
<
[email protected]
>
Fri, 4 Mar 2011 06:46:26 +0000
(15:46 +0900)
No need to put these in the global namespace and sparse gets upset.
Signed-off-by: Mark Brown <
[email protected]
>
Signed-off-by: Kukjin Kim <
[email protected]
>
arch/arm/mach-s3c64xx/gpiolib.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-s3c64xx/gpiolib.c
b/arch/arm/mach-s3c64xx/gpiolib.c
index fd99a82e82c486e13a92f5d2ec35570b326db08d..92b09085caaa0e69bd698af7b5a2b61c02427df1 100644
(file)
--- a/
arch/arm/mach-s3c64xx/gpiolib.c
+++ b/
arch/arm/mach-s3c64xx/gpiolib.c
@@
-72,7
+72,7
@@
static struct s3c_gpio_cfg gpio_4bit_cfg_eint0011 = {
.get_pull = s3c_gpio_getpull_updown,
};
-int s3c64xx_gpio2int_gpm(struct gpio_chip *chip, unsigned pin)
+
static
int s3c64xx_gpio2int_gpm(struct gpio_chip *chip, unsigned pin)
{
return pin < 5 ? IRQ_EINT(23) + pin : -ENXIO;
}
@@
-138,7
+138,7
@@
static struct s3c_gpio_chip gpio_4bit[] = {
},
};
-int s3c64xx_gpio2int_gpl(struct gpio_chip *chip, unsigned pin)
+
static
int s3c64xx_gpio2int_gpl(struct gpio_chip *chip, unsigned pin)
{
return pin >= 8 ? IRQ_EINT(16) + pin - 8 : -ENXIO;
}