Browse Source

media: rc: pwm-ir-tx needs OF

Without device tree, there is no way to use this driver.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Sean Young 7 years ago
parent
commit
2d726aaab2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/rc/Kconfig

+ 1 - 0
drivers/media/rc/Kconfig

@@ -416,6 +416,7 @@ config IR_PWM_TX
 	depends on RC_CORE
 	depends on RC_CORE
 	depends on LIRC
 	depends on LIRC
 	depends on PWM
 	depends on PWM
+	depends on OF || COMPILE_TEST
 	---help---
 	---help---
 	   Say Y if you want to use a PWM based IR transmitter. This is
 	   Say Y if you want to use a PWM based IR transmitter. This is
 	   more power efficient than the bit banging gpio driver.
 	   more power efficient than the bit banging gpio driver.