aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/gpio.h')
-rw-r--r--include/linux/gpio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/gpio.h b/include/linux/gpio.h
index 4e949a5b5b85..e41f7dd1ae67 100644
--- a/include/linux/gpio.h
+++ b/include/linux/gpio.h
@@ -13,6 +13,7 @@
13#include <linux/errno.h> 13#include <linux/errno.h>
14 14
15struct device; 15struct device;
16struct gpio_chip;
16 17
17/* 18/*
18 * Some platforms don't support the GPIO programming interface. 19 * Some platforms don't support the GPIO programming interface.
@@ -51,6 +52,11 @@ static inline int gpio_direction_output(unsigned gpio, int value)
51 return -ENOSYS; 52 return -ENOSYS;
52} 53}
53 54
55static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
56{
57 return -ENOSYS;
58}
59
54static inline int gpio_get_value(unsigned gpio) 60static inline int gpio_get_value(unsigned gpio)
55{ 61{
56 /* GPIO can never have been requested or set as {in,out}put */ 62 /* GPIO can never have been requested or set as {in,out}put */