diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-05-21 06:09:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-21 12:50:21 -0400 |
commit | a161bb0510d793a450127c12160309907af3d3f7 (patch) | |
tree | dcc93719b5c7e85a21c2169e4f6e7da77ad8bf1d /arch/blackfin/kernel/bfin_gpio.c | |
parent | 140a9aec22f454120d1953f24cd2b5338b6141e2 (diff) |
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 e9f24a9a46ba..bc162529119f 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) | |||
144 | } | 144 | } |
145 | 145 | ||
146 | #ifdef BF537_FAMILY | 146 | #ifdef BF537_FAMILY |
147 | void port_setup(unsigned short gpio, unsigned short usage) | 147 | static void port_setup(unsigned short gpio, unsigned short usage) |
148 | { | 148 | { |
149 | if (usage == GPIO_USAGE) { | 149 | if (usage == GPIO_USAGE) { |
150 | if (*port_fer[gpio_bank(gpio)] & gpio_bit(gpio)) | 150 | if (*port_fer[gpio_bank(gpio)] & gpio_bit(gpio)) |
@@ -160,7 +160,7 @@ void port_setup(unsigned short gpio, unsigned short usage) | |||
160 | #endif | 160 | #endif |
161 | 161 | ||
162 | 162 | ||
163 | void default_gpio(unsigned short gpio) | 163 | static void default_gpio(unsigned short gpio) |
164 | { | 164 | { |
165 | unsigned short bank,bitmask; | 165 | unsigned short bank,bitmask; |
166 | 166 | ||
@@ -177,8 +177,7 @@ void default_gpio(unsigned short gpio) | |||
177 | gpio_bankb[bank]->edge &= ~bitmask; | 177 | gpio_bankb[bank]->edge &= ~bitmask; |
178 | } | 178 | } |
179 | 179 | ||
180 | 180 | static int __init bfin_gpio_init(void) | |
181 | int __init bfin_gpio_init(void) | ||
182 | { | 181 | { |
183 | int i; | 182 | int i; |
184 | 183 | ||