From: Cai Huoqing Date: Tue, 9 Nov 2021 12:55:20 +0000 (+0000) Subject: media: rc: ir-hix5hd2: Add the dependency on HAS_IOMEM X-Git-Tag: v6.6.17~8435^2~290 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5efe5721c18c326036ca71bec4fb56472e1f9350;p=platform%2Fkernel%2Flinux-rpi.git media: rc: ir-hix5hd2: Add the dependency on HAS_IOMEM The helper function devm_platform_ioremap_resource() needs HAS_IOMEM enabled, so add the dependency on HAS_IOMEM. Signed-off-by: Cai Huoqing Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 9506baf..c111af8 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig @@ -175,7 +175,7 @@ config IR_ENE config IR_HIX5HD2 tristate "Hisilicon hix5hd2 IR remote control" - depends on OF || COMPILE_TEST + depends on (OF && HAS_IOMEM) || 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