diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
| commit | b74b953b998bcc2db91b694446f3a2619ec32de6 (patch) | |
| tree | 6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /include/linux/gpio.h | |
| parent | abb438526201c6a79949ad45375c051b6681c253 (diff) | |
| parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (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.h | 6 |
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 | ||
| 15 | struct device; | 15 | struct device; |
| 16 | struct 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 | ||
| 55 | static inline int gpio_set_debounce(unsigned gpio, unsigned debounce) | ||
| 56 | { | ||
| 57 | return -ENOSYS; | ||
| 58 | } | ||
| 59 | |||
| 54 | static inline int gpio_get_value(unsigned gpio) | 60 | static 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 */ |
