diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-27 07:41:05 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:17:12 -0500 |
commit | 0334c8a52a8578f7aef501a14f78004f931efe20 (patch) | |
tree | 0634199b7813d4b2123a8843dd90f23396b3180f /drivers | |
parent | 22efe507705a8437255114f98d0d514524460be0 (diff) |
[media] staging/lirc: Fix compilation when LIRC=m
drivers/staging/lirc/lirc_bt829.c:141: undefined reference to `lirc_register_driver'
drivers/built-in.o:(.rodata+0x20f68): undefined reference to `lirc_dev_fop_read'
drivers/built-in.o:(.rodata+0x20f7c): undefined reference to `lirc_dev_fop_poll'
drivers/built-in.o:(.rodata+0x20f8c): undefined reference to `lirc_dev_fop_open'
drivers/built-in.o:(.rodata+0x20f94): undefined reference to `lirc_dev_fop_close'
drivers/built-in.o:(.rodata+0x21030): undefined reference to `lirc_dev_fop_open'
drivers/built-in.o:(.rodata+0x21038): undefined reference to `lirc_dev_fop_close'
This happens when .config is like:
CONFIG_LIRC=m
CONFIG_IR_LIRC_CODEC=m
CONFIG_LIRC_STAGING=y
CONFIG_LIRC_BT829=y
Don't allow that.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/lirc/Kconfig | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/staging/lirc/Kconfig b/drivers/staging/lirc/Kconfig index fa790db75d7e..be97f7b50571 100644 --- a/drivers/staging/lirc/Kconfig +++ b/drivers/staging/lirc/Kconfig | |||
@@ -14,26 +14,26 @@ if LIRC_STAGING | |||
14 | 14 | ||
15 | config LIRC_BT829 | 15 | config LIRC_BT829 |
16 | tristate "BT829 based hardware" | 16 | tristate "BT829 based hardware" |
17 | depends on LIRC_STAGING && PCI | 17 | depends on LIRC && PCI |
18 | help | 18 | help |
19 | Driver for the IR interface on BT829-based hardware | 19 | Driver for the IR interface on BT829-based hardware |
20 | 20 | ||
21 | config LIRC_I2C | 21 | config LIRC_I2C |
22 | tristate "I2C Based IR Receivers" | 22 | tristate "I2C Based IR Receivers" |
23 | depends on LIRC_STAGING && I2C | 23 | depends on LIRC && I2C |
24 | help | 24 | help |
25 | Driver for I2C-based IR receivers, such as those commonly | 25 | Driver for I2C-based IR receivers, such as those commonly |
26 | found onboard Hauppauge PVR-150/250/350 video capture cards | 26 | found onboard Hauppauge PVR-150/250/350 video capture cards |
27 | 27 | ||
28 | config LIRC_IGORPLUGUSB | 28 | config LIRC_IGORPLUGUSB |
29 | tristate "Igor Cesko's USB IR Receiver" | 29 | tristate "Igor Cesko's USB IR Receiver" |
30 | depends on LIRC_STAGING && USB | 30 | depends on LIRC && USB |
31 | help | 31 | help |
32 | Driver for Igor Cesko's USB IR Receiver | 32 | Driver for Igor Cesko's USB IR Receiver |
33 | 33 | ||
34 | config LIRC_IMON | 34 | config LIRC_IMON |
35 | tristate "Legacy SoundGraph iMON Receiver and Display" | 35 | tristate "Legacy SoundGraph iMON Receiver and Display" |
36 | depends on LIRC_STAGING && USB | 36 | depends on LIRC && USB |
37 | help | 37 | help |
38 | Driver for the original SoundGraph iMON IR Receiver and Display | 38 | Driver for the original SoundGraph iMON IR Receiver and Display |
39 | 39 | ||
@@ -41,31 +41,31 @@ config LIRC_IMON | |||
41 | 41 | ||
42 | config LIRC_IT87 | 42 | config LIRC_IT87 |
43 | tristate "ITE IT87XX CIR Port Receiver" | 43 | tristate "ITE IT87XX CIR Port Receiver" |
44 | depends on LIRC_STAGING && PNP | 44 | depends on LIRC && PNP |
45 | help | 45 | help |
46 | Driver for the ITE IT87xx IR Receiver | 46 | Driver for the ITE IT87xx IR Receiver |
47 | 47 | ||
48 | config LIRC_ITE8709 | 48 | config LIRC_ITE8709 |
49 | tristate "ITE8709 CIR Port Receiver" | 49 | tristate "ITE8709 CIR Port Receiver" |
50 | depends on LIRC_STAGING && PNP | 50 | depends on LIRC && PNP |
51 | help | 51 | help |
52 | Driver for the ITE8709 IR Receiver | 52 | Driver for the ITE8709 IR Receiver |
53 | 53 | ||
54 | config LIRC_PARALLEL | 54 | config LIRC_PARALLEL |
55 | tristate "Homebrew Parallel Port Receiver" | 55 | tristate "Homebrew Parallel Port Receiver" |
56 | depends on LIRC_STAGING && PARPORT | 56 | depends on LIRC && PARPORT |
57 | help | 57 | help |
58 | Driver for Homebrew Parallel Port Receivers | 58 | Driver for Homebrew Parallel Port Receivers |
59 | 59 | ||
60 | config LIRC_SASEM | 60 | config LIRC_SASEM |
61 | tristate "Sasem USB IR Remote" | 61 | tristate "Sasem USB IR Remote" |
62 | depends on LIRC_STAGING && USB | 62 | depends on LIRC && USB |
63 | help | 63 | help |
64 | Driver for the Sasem OnAir Remocon-V or Dign HV5 HTPC IR/VFD Module | 64 | Driver for the Sasem OnAir Remocon-V or Dign HV5 HTPC IR/VFD Module |
65 | 65 | ||
66 | config LIRC_SERIAL | 66 | config LIRC_SERIAL |
67 | tristate "Homebrew Serial Port Receiver" | 67 | tristate "Homebrew Serial Port Receiver" |
68 | depends on LIRC_STAGING | 68 | depends on LIRC |
69 | help | 69 | help |
70 | Driver for Homebrew Serial Port Receivers | 70 | Driver for Homebrew Serial Port Receivers |
71 | 71 | ||
@@ -78,19 +78,19 @@ config LIRC_SERIAL_TRANSMITTER | |||
78 | 78 | ||
79 | config LIRC_SIR | 79 | config LIRC_SIR |
80 | tristate "Built-in SIR IrDA port" | 80 | tristate "Built-in SIR IrDA port" |
81 | depends on LIRC_STAGING | 81 | depends on LIRC |
82 | help | 82 | help |
83 | Driver for the SIR IrDA port | 83 | Driver for the SIR IrDA port |
84 | 84 | ||
85 | config LIRC_TTUSBIR | 85 | config LIRC_TTUSBIR |
86 | tristate "Technotrend USB IR Receiver" | 86 | tristate "Technotrend USB IR Receiver" |
87 | depends on LIRC_STAGING && USB | 87 | depends on LIRC && USB |
88 | help | 88 | help |
89 | Driver for the Technotrend USB IR Receiver | 89 | Driver for the Technotrend USB IR Receiver |
90 | 90 | ||
91 | config LIRC_ZILOG | 91 | config LIRC_ZILOG |
92 | tristate "Zilog/Hauppauge IR Transmitter" | 92 | tristate "Zilog/Hauppauge IR Transmitter" |
93 | depends on LIRC_STAGING && I2C | 93 | depends on LIRC && I2C |
94 | help | 94 | help |
95 | Driver for the Zilog/Hauppauge IR Transmitter, found on | 95 | Driver for the Zilog/Hauppauge IR Transmitter, found on |
96 | PVR-150/500, HVR-1200/1250/1700/1800, HD-PVR and other cards | 96 | PVR-150/500, HVR-1200/1250/1700/1800, HD-PVR and other cards |