]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 88c8ecd1304487a79203e0fcb2dae428d463f6b7..94db0ed1df54f590b8215b63419e32f12b37a00e 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