projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'pm-cpufreq'
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
gpio
/
consumer.h
diff --git
a/include/linux/gpio/consumer.h
b/include/linux/gpio/consumer.h
index 14cac67c2012b6883d03445331337d139aba0307..fb0fde686cb1f80717c544ac18b380f6501afd39 100644
(file)
--- a/
include/linux/gpio/consumer.h
+++ b/
include/linux/gpio/consumer.h
@@
-400,6
+400,7
@@
static inline struct gpio_desc *gpio_to_desc(unsigned gpio)
{
return ERR_PTR(-EINVAL);
}
+
static inline int desc_to_gpio(const struct gpio_desc *desc)
{
/* GPIO can never have been requested */