diff options
author | Joachim Eastwood <joachim.eastwood@jotron.com> | 2010-02-11 06:41:11 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:52 -0500 |
commit | f9c29e872b1c468d09c04ed452dc58961914c9d7 (patch) | |
tree | 19b43afe91f0a9cf621818cae700fcc1468ed35d /arch/blackfin/kernel | |
parent | c48d767569ec6449277bf4248295b4c165b57159 (diff) |
Blackfin: mark gpio lib functions static
Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r-- | arch/blackfin/kernel/bfin_gpio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index 6dcb344001f0..e35e20f00d9b 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c | |||
@@ -1289,37 +1289,37 @@ __initcall(gpio_register_proc); | |||
1289 | #endif | 1289 | #endif |
1290 | 1290 | ||
1291 | #ifdef CONFIG_GPIOLIB | 1291 | #ifdef CONFIG_GPIOLIB |
1292 | int bfin_gpiolib_direction_input(struct gpio_chip *chip, unsigned gpio) | 1292 | static int bfin_gpiolib_direction_input(struct gpio_chip *chip, unsigned gpio) |
1293 | { | 1293 | { |
1294 | return bfin_gpio_direction_input(gpio); | 1294 | return bfin_gpio_direction_input(gpio); |
1295 | } | 1295 | } |
1296 | 1296 | ||
1297 | int bfin_gpiolib_direction_output(struct gpio_chip *chip, unsigned gpio, int level) | 1297 | static int bfin_gpiolib_direction_output(struct gpio_chip *chip, unsigned gpio, int level) |
1298 | { | 1298 | { |
1299 | return bfin_gpio_direction_output(gpio, level); | 1299 | return bfin_gpio_direction_output(gpio, level); |
1300 | } | 1300 | } |
1301 | 1301 | ||
1302 | int bfin_gpiolib_get_value(struct gpio_chip *chip, unsigned gpio) | 1302 | static int bfin_gpiolib_get_value(struct gpio_chip *chip, unsigned gpio) |
1303 | { | 1303 | { |
1304 | return bfin_gpio_get_value(gpio); | 1304 | return bfin_gpio_get_value(gpio); |
1305 | } | 1305 | } |
1306 | 1306 | ||
1307 | void bfin_gpiolib_set_value(struct gpio_chip *chip, unsigned gpio, int value) | 1307 | static void bfin_gpiolib_set_value(struct gpio_chip *chip, unsigned gpio, int value) |
1308 | { | 1308 | { |
1309 | return bfin_gpio_set_value(gpio, value); | 1309 | return bfin_gpio_set_value(gpio, value); |
1310 | } | 1310 | } |
1311 | 1311 | ||
1312 | int bfin_gpiolib_gpio_request(struct gpio_chip *chip, unsigned gpio) | 1312 | static int bfin_gpiolib_gpio_request(struct gpio_chip *chip, unsigned gpio) |
1313 | { | 1313 | { |
1314 | return bfin_gpio_request(gpio, chip->label); | 1314 | return bfin_gpio_request(gpio, chip->label); |
1315 | } | 1315 | } |
1316 | 1316 | ||
1317 | void bfin_gpiolib_gpio_free(struct gpio_chip *chip, unsigned gpio) | 1317 | static void bfin_gpiolib_gpio_free(struct gpio_chip *chip, unsigned gpio) |
1318 | { | 1318 | { |
1319 | return bfin_gpio_free(gpio); | 1319 | return bfin_gpio_free(gpio); |
1320 | } | 1320 | } |
1321 | 1321 | ||
1322 | int bfin_gpiolib_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) | 1322 | static int bfin_gpiolib_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) |
1323 | { | 1323 | { |
1324 | return gpio + GPIO_IRQ_BASE; | 1324 | return gpio + GPIO_IRQ_BASE; |
1325 | } | 1325 | } |