diff options
Diffstat (limited to 'include/linux/gpio.h')
-rw-r--r-- | include/linux/gpio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/gpio.h b/include/linux/gpio.h index e41f7dd1ae6..1d5214a8911 100644 --- a/include/linux/gpio.h +++ b/include/linux/gpio.h | |||
@@ -29,7 +29,7 @@ static inline int gpio_is_valid(int number) | |||
29 | return 0; | 29 | return 0; |
30 | } | 30 | } |
31 | 31 | ||
32 | static inline int gpio_request(unsigned gpio, const char *label) | 32 | static inline int __must_check gpio_request(unsigned gpio, const char *label) |
33 | { | 33 | { |
34 | return -ENOSYS; | 34 | return -ENOSYS; |
35 | } | 35 | } |
@@ -42,12 +42,12 @@ static inline void gpio_free(unsigned gpio) | |||
42 | WARN_ON(1); | 42 | WARN_ON(1); |
43 | } | 43 | } |
44 | 44 | ||
45 | static inline int gpio_direction_input(unsigned gpio) | 45 | static inline int __must_check gpio_direction_input(unsigned gpio) |
46 | { | 46 | { |
47 | return -ENOSYS; | 47 | return -ENOSYS; |
48 | } | 48 | } |
49 | 49 | ||
50 | static inline int gpio_direction_output(unsigned gpio, int value) | 50 | static inline int __must_check gpio_direction_output(unsigned gpio, int value) |
51 | { | 51 | { |
52 | return -ENOSYS; | 52 | return -ENOSYS; |
53 | } | 53 | } |