Commit f9c29e87 authored by Joachim Eastwood's avatar Joachim Eastwood Committed by Mike Frysinger

Blackfin: mark gpio lib functions static

Signed-off-by: default avatarJoachim Eastwood <joachim.eastwood@jotron.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent c48d7675
...@@ -1289,37 +1289,37 @@ __initcall(gpio_register_proc); ...@@ -1289,37 +1289,37 @@ __initcall(gpio_register_proc);
#endif #endif
#ifdef CONFIG_GPIOLIB #ifdef CONFIG_GPIOLIB
int bfin_gpiolib_direction_input(struct gpio_chip *chip, unsigned gpio) static int bfin_gpiolib_direction_input(struct gpio_chip *chip, unsigned gpio)
{ {
return bfin_gpio_direction_input(gpio); return bfin_gpio_direction_input(gpio);
} }
int bfin_gpiolib_direction_output(struct gpio_chip *chip, unsigned gpio, int level) static int bfin_gpiolib_direction_output(struct gpio_chip *chip, unsigned gpio, int level)
{ {
return bfin_gpio_direction_output(gpio, level); return bfin_gpio_direction_output(gpio, level);
} }
int bfin_gpiolib_get_value(struct gpio_chip *chip, unsigned gpio) static int bfin_gpiolib_get_value(struct gpio_chip *chip, unsigned gpio)
{ {
return bfin_gpio_get_value(gpio); return bfin_gpio_get_value(gpio);
} }
void bfin_gpiolib_set_value(struct gpio_chip *chip, unsigned gpio, int value) static void bfin_gpiolib_set_value(struct gpio_chip *chip, unsigned gpio, int value)
{ {
return bfin_gpio_set_value(gpio, value); return bfin_gpio_set_value(gpio, value);
} }
int bfin_gpiolib_gpio_request(struct gpio_chip *chip, unsigned gpio) static int bfin_gpiolib_gpio_request(struct gpio_chip *chip, unsigned gpio)
{ {
return bfin_gpio_request(gpio, chip->label); return bfin_gpio_request(gpio, chip->label);
} }
void bfin_gpiolib_gpio_free(struct gpio_chip *chip, unsigned gpio) static void bfin_gpiolib_gpio_free(struct gpio_chip *chip, unsigned gpio)
{ {
return bfin_gpio_free(gpio); return bfin_gpio_free(gpio);
} }
int bfin_gpiolib_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) static int bfin_gpiolib_gpio_to_irq(struct gpio_chip *chip, unsigned gpio)
{ {
return gpio + GPIO_IRQ_BASE; return gpio + GPIO_IRQ_BASE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment