diff options
author | Michal Marek <mmarek@suse.cz> | 2010-01-07 15:03:11 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-02-17 11:37:32 -0500 |
commit | 9d9c98e89ee24b7d42f72c4f663c4d644d1c3f81 (patch) | |
tree | 3293d60d3a88405c2b3e1205cec40b6ea8dea173 /drivers | |
parent | 3a86e1807a53b7164c4ca2aec538d8a5d15416f1 (diff) |
pcmcia: fix yenta dependency on PCCARD_NONSTATIC
With CONFIG_PCMCIA=m and CONFIG_YENTA=y, we get
drivers/built-in.o: In function `yenta_probe':
yenta_socket.c:(.devinit.text+0x1e582): undefined reference to
`pccard_nonstatic_ops'
This is because
select PCCARD_NONSTATIC if PCMCIA
sets PCCARD_NONSTATIC = min(YENTA, PCMCIA). Change it to 'if PCMCIA!=n'
to remove the upper limit.
[linux@dominikbrodowski.net: propagate change to PCMICA_M8XX]
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pcmcia/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index efc51b9e811e..e8f35dac2d51 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig | |||
@@ -84,7 +84,7 @@ config YENTA | |||
84 | tristate "CardBus yenta-compatible bridge support" | 84 | tristate "CardBus yenta-compatible bridge support" |
85 | depends on PCI | 85 | depends on PCI |
86 | select CARDBUS if !EMBEDDED | 86 | select CARDBUS if !EMBEDDED |
87 | select PCCARD_NONSTATIC if PCMCIA | 87 | select PCCARD_NONSTATIC if PCMCIA != n |
88 | ---help--- | 88 | ---help--- |
89 | This option enables support for CardBus host bridges. Virtually | 89 | This option enables support for CardBus host bridges. Virtually |
90 | all modern PCMCIA bridges are CardBus compatible. A "bridge" is | 90 | all modern PCMCIA bridges are CardBus compatible. A "bridge" is |
@@ -161,8 +161,8 @@ config TCIC | |||
161 | 161 | ||
162 | config PCMCIA_M8XX | 162 | config PCMCIA_M8XX |
163 | tristate "MPC8xx PCMCIA support" | 163 | tristate "MPC8xx PCMCIA support" |
164 | depends on PCMCIA && PPC && 8xx | 164 | depends on PCCARD && PPC && 8xx |
165 | select PCCARD_IODYN if PCMCIA | 165 | select PCCARD_IODYN if PCMCIA != n |
166 | help | 166 | help |
167 | Say Y here to include support for PowerPC 8xx series PCMCIA | 167 | Say Y here to include support for PowerPC 8xx series PCMCIA |
168 | controller. | 168 | controller. |