diff options
-rw-r--r-- | arch/blackfin/kernel/bfin_dma_5xx.c | 2 | ||||
-rw-r--r-- | arch/blackfin/kernel/bfin_gpio.c | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 8ea079ebecb5..14314240718e 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
@@ -119,7 +119,7 @@ static void clear_dma_buffer(unsigned int channel) | |||
119 | SSYNC(); | 119 | SSYNC(); |
120 | } | 120 | } |
121 | 121 | ||
122 | int __init blackfin_dma_init(void) | 122 | static int __init blackfin_dma_init(void) |
123 | { | 123 | { |
124 | int i; | 124 | int i; |
125 | 125 | ||
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 | ||