projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
829bbf2
)
media: rc: gpio-ir-tx does not work without devicetree or gpiolib
author
Sean Young
<sean@mess.org>
Thu, 5 Oct 2017 21:30:57 +0000
(17:30 -0400)
committer
Mauro Carvalho Chehab
<mchehab@s-opensource.com>
Wed, 11 Oct 2017 16:38:20 +0000
(12:38 -0400)
If the kernel is built without device tree, this driver cannot be
used and without gpiolib it cannot control any gpio pin.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/media/rc/Kconfig
b/drivers/media/rc/Kconfig
index 451cba1fe9bff44527be4b80e70f6a4c89019447..946d2ec419db4bb33f5c5a8706edc868b770cbf4 100644
(file)
--- a/
drivers/media/rc/Kconfig
+++ b/
drivers/media/rc/Kconfig
@@
-403,6
+403,7
@@
config IR_GPIO_TX
tristate "GPIO IR Bit Banging Transmitter"
depends on RC_CORE
depends on LIRC
+ depends on (OF && GPIOLIB) || COMPILE_TEST
---help---
Say Y if you want to a GPIO based IR transmitter. This is a
bit banging driver.