diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-11-17 07:17:47 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-12-04 12:42:09 -0500 |
commit | 6010d2c104bfa4e427545639bdf60217e96d4baa (patch) | |
tree | b92b6ba051569501ae6b9f28dd5923aa45a4f63f | |
parent | ce5db2937bffb1fccb205351092d37b6fb86c7f9 (diff) |
[media] img-ir: Depend on METAG or MIPS or COMPILE_TEST
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>
-rw-r--r-- | drivers/media/rc/img-ir/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/rc/img-ir/Kconfig b/drivers/media/rc/img-ir/Kconfig index 03ba9fc170fb..580715c7fc5e 100644 --- a/drivers/media/rc/img-ir/Kconfig +++ b/drivers/media/rc/img-ir/Kconfig | |||
@@ -1,6 +1,7 @@ | |||
1 | config IR_IMG | 1 | config IR_IMG |
2 | tristate "ImgTec IR Decoder" | 2 | tristate "ImgTec IR Decoder" |
3 | depends on RC_CORE | 3 | depends on RC_CORE |
4 | depends on METAG || MIPS || COMPILE_TEST | ||
4 | select IR_IMG_HW if !IR_IMG_RAW | 5 | select IR_IMG_HW if !IR_IMG_RAW |
5 | help | 6 | help |
6 | Say Y or M here if you want to use the ImgTec infrared decoder | 7 | Say Y or M here if you want to use the ImgTec infrared decoder |