aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio.h
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-10-27 18:15:57 -0400
committerMichal Marek <mmarek@suse.cz>2010-10-27 18:15:57 -0400
commitb74b953b998bcc2db91b694446f3a2619ec32de6 (patch)
tree6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /include/linux/gpio.h
parentabb438526201c6a79949ad45375c051b6681c253 (diff)
parentf6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff)
Merge commit 'v2.6.36' into kbuild/misc
Update to be able to fix a recent change to scripts/basic/docproc.c (commit eda603f).
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 */