[media] img-ir: Depend on METAG or MIPS or COMPILE_TEST
authorJames Hogan <james.hogan@imgtec.com>
Mon, 17 Nov 2014 12:17:47 +0000 (09:17 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 17:42:09 +0000 (15:42 -0200)
The ImgTec Infrared decoder block which img-ir drives is only used in
IMGWorks SoCs so far, such as the TZ1090 (Meta based) and the upcoming
Pistachio (MIPS based). Therefore make the driver depend on METAG (for
TZ1090) or MIPS (for Pistachio) or COMPILE_TEST (so that it is included
in x86 allmodconfig builds), to avoid cluttering the Kconfig menu with
drivers for hardware that isn't yet available on other platforms.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/img-ir/Kconfig

index 03ba9fc170fb0e74ee37709d8bdf45b3ce2b9947..580715c7fc5e4a77c8277a32e8af7719ffde6da3 100644 (file)
@@ -1,6 +1,7 @@
 config IR_IMG
        tristate "ImgTec IR Decoder"
        depends on RC_CORE
+       depends on METAG || MIPS || COMPILE_TEST
        select IR_IMG_HW if !IR_IMG_RAW
        help
           Say Y or M here if you want to use the ImgTec infrared decoder
This page took 0.027048 seconds and 5 git commands to generate.