aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/gpio.h
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2009-01-07 10:14:38 -0500
committerBryan Wu <cooloney@kernel.org>2009-01-07 10:14:38 -0500
commit9570ff4af6920c5992eb91141d71fc94127d864b (patch)
tree8ab0887035ab00a655eb8f78b39ed0acbb0b3bed /arch/blackfin/include/asm/gpio.h
parent94106e0fb6b863348a566617ca6bf431c37ddc5e (diff)
Blackfin arch: Allow a gpio pin be requested both as gpio and irq.
[Mike Frysinger <vapier.adi@gmail.com>: - use KERN_NOTICE when using gpios as both irq and non rather than KERN_ERR - embedded newlines in printk() does not fly] Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm/gpio.h')
-rw-r--r--arch/blackfin/include/asm/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/gpio.h b/arch/blackfin/include/asm/gpio.h
index ec2ab465709e..4ee687f34fee 100644
--- a/arch/blackfin/include/asm/gpio.h
+++ b/arch/blackfin/include/asm/gpio.h
@@ -548,6 +548,8 @@ struct gpio_port_s {
548 548
549int bfin_gpio_request(unsigned gpio, const char *label); 549int bfin_gpio_request(unsigned gpio, const char *label);
550void bfin_gpio_free(unsigned gpio); 550void bfin_gpio_free(unsigned gpio);
551int bfin_gpio_irq_request(unsigned gpio, const char *label);
552void bfin_gpio_irq_free(unsigned gpio);
551int bfin_gpio_direction_input(unsigned gpio); 553int bfin_gpio_direction_input(unsigned gpio);
552int bfin_gpio_direction_output(unsigned gpio, int value); 554int bfin_gpio_direction_output(unsigned gpio, int value);
553int bfin_gpio_get_value(unsigned gpio); 555int bfin_gpio_get_value(unsigned gpio);