瀏覽代碼

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 年之前
父節點
當前提交
2d726aaab2
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 LIRC
 	depends on PWM
+	depends on OF || COMPILE_TEST
 	---help---
 	   Say Y if you want to use a PWM based IR transmitter. This is
 	   more power efficient than the bit banging gpio driver.