diff options
Diffstat (limited to 'include/asm-blackfin/gpio.h')
-rw-r--r-- | include/asm-blackfin/gpio.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-blackfin/gpio.h b/include/asm-blackfin/gpio.h index 33ce98ef7e0f..7bba9b17654e 100644 --- a/include/asm-blackfin/gpio.h +++ b/include/asm-blackfin/gpio.h | |||
@@ -426,19 +426,19 @@ struct gpio_port_s { | |||
426 | * MODIFICATION HISTORY : | 426 | * MODIFICATION HISTORY : |
427 | **************************************************************/ | 427 | **************************************************************/ |
428 | 428 | ||
429 | int gpio_request(unsigned short, const char *); | 429 | int gpio_request(unsigned, const char *); |
430 | void gpio_free(unsigned short); | 430 | void gpio_free(unsigned); |
431 | 431 | ||
432 | void gpio_set_value(unsigned short gpio, unsigned short arg); | 432 | void gpio_set_value(unsigned gpio, int arg); |
433 | unsigned short gpio_get_value(unsigned short gpio); | 433 | int gpio_get_value(unsigned gpio); |
434 | 434 | ||
435 | #ifndef BF548_FAMILY | 435 | #ifndef BF548_FAMILY |
436 | #define gpio_get_value(gpio) get_gpio_data(gpio) | 436 | #define gpio_get_value(gpio) get_gpio_data(gpio) |
437 | #define gpio_set_value(gpio, value) set_gpio_data(gpio, value) | 437 | #define gpio_set_value(gpio, value) set_gpio_data(gpio, value) |
438 | #endif | 438 | #endif |
439 | 439 | ||
440 | void gpio_direction_input(unsigned short gpio); | 440 | int gpio_direction_input(unsigned gpio); |
441 | void gpio_direction_output(unsigned short gpio); | 441 | int gpio_direction_output(unsigned gpio, int value); |
442 | 442 | ||
443 | #include <asm-generic/gpio.h> /* cansleep wrappers */ | 443 | #include <asm-generic/gpio.h> /* cansleep wrappers */ |
444 | #include <asm/irq.h> | 444 | #include <asm/irq.h> |