media: rc: hix5hd2 drivers needs OF
authorSean Young <sean@mess.org>
Thu, 5 Oct 2017 21:30:59 +0000 (17:30 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 11 Oct 2017 16:39:55 +0000 (12:39 -0400)
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>
drivers/media/rc/Kconfig

index 88c8ecd..94db0ed 100644 (file)
@@ -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