diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 21:34:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:29:08 -0400 |
commit | 367394ac5cce83d40e605b5c75ee27dbe3d42d92 (patch) | |
tree | e5b5a468252a58577e51f90581ee78afa4206dd4 /drivers | |
parent | 1c22dad8ab86caef7a1f01cf3e9bb446a448aac5 (diff) |
V4L/DVB (8396): video: Fix Kbuild dependency for VIDEO_IR_I2C
Instead of letting VIDEO_IR_I2C to be selected by VIDEO_IR, if I2C, convert it
into a symbol that depends on both VIDEO_IR and I2C.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/Kconfig | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 424cef1eca3b..f268dbeeb700 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -36,13 +36,9 @@ config VIDEOBUF_DVB | |||
36 | config VIDEO_BTCX | 36 | config VIDEO_BTCX |
37 | tristate | 37 | tristate |
38 | 38 | ||
39 | config VIDEO_IR_I2C | ||
40 | tristate | ||
41 | |||
42 | config VIDEO_IR | 39 | config VIDEO_IR |
43 | tristate | 40 | tristate |
44 | depends on INPUT | 41 | depends on INPUT |
45 | select VIDEO_IR_I2C if I2C | ||
46 | 42 | ||
47 | config VIDEO_TVEEPROM | 43 | config VIDEO_TVEEPROM |
48 | tristate | 44 | tristate |
@@ -88,6 +84,19 @@ config VIDEO_HELPER_CHIPS_AUTO | |||
88 | 84 | ||
89 | In doubt, say Y. | 85 | In doubt, say Y. |
90 | 86 | ||
87 | config VIDEO_IR_I2C | ||
88 | tristate "I2C module for IR" if !VIDEO_HELPER_CHIPS_AUTO | ||
89 | depends on I2C && VIDEO_IR | ||
90 | default y | ||
91 | ---help--- | ||
92 | Most boards have an IR chip directly connected via GPIO. However, | ||
93 | some video boards have the IR connected via I2C bus. | ||
94 | |||
95 | If your board doesn't have an I2C IR chip, you may disable this | ||
96 | option. | ||
97 | |||
98 | In doubt, say Y. | ||
99 | |||
91 | # | 100 | # |
92 | # Encoder / Decoder module configuration | 101 | # Encoder / Decoder module configuration |
93 | # | 102 | # |