diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-05-21 10:09:14 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 16:50:21 (GMT) |
commit | a161bb0510d793a450127c12160309907af3d3f7 (patch) | |
tree | dcc93719b5c7e85a21c2169e4f6e7da77ad8bf1d /arch/blackfin/kernel/bfin_gpio.c | |
parent | 140a9aec22f454120d1953f24cd2b5338b6141e2 (diff) | |
download | linux-fsl-qoriq-a161bb0510d793a450127c12160309907af3d3f7.tar.xz |
Blackfin arch: mark a bunch of local functions as static
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/blackfin/kernel/bfin_gpio.c')
-rw-r--r-- | arch/blackfin/kernel/bfin_gpio.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index e9f24a9..bc16252 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c @@ -144,7 +144,7 @@ inline int check_gpio(unsigned short gpio) } #ifdef BF537_FAMILY -void port_setup(unsigned short gpio, unsigned short usage) +static void port_setup(unsigned short gpio, unsigned short usage) { if (usage == GPIO_USAGE) { if (*port_fer[gpio_bank(gpio)] & gpio_bit(gpio)) @@ -160,7 +160,7 @@ void port_setup(unsigned short gpio, unsigned short usage) #endif -void default_gpio(unsigned short gpio) +static void default_gpio(unsigned short gpio) { unsigned short bank,bitmask; @@ -177,8 +177,7 @@ void default_gpio(unsigned short gpio) gpio_bankb[bank]->edge &= ~bitmask; } - -int __init bfin_gpio_init(void) +static int __init bfin_gpio_init(void) { int i; |