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

Signed-off-by: Sean Young <s...@mess.org>
---
 drivers/media/rc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
index 88c8ecd13044..94db0ed1df54 100644
--- a/drivers/media/rc/Kconfig
+++ b/drivers/media/rc/Kconfig
@@ -178,6 +178,7 @@ config IR_ENE
 config IR_HIX5HD2
        tristate "Hisilicon hix5hd2 IR remote control"
        depends on RC_CORE
+       depends on OF || COMPILE_TEST
        help
           Say Y here if you want to use hisilicon hix5hd2 remote control.
           To compile this driver as a module, choose M here: the module will be
-- 
2.13.6

Reply via email to