pcmcia: fix yenta dependency on PCCARD_NONSTATIC
authorMichal Marek <mmarek@suse.cz>
Thu, 7 Jan 2010 20:03:11 +0000 (21:03 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 17 Feb 2010 16:37:32 +0000 (17:37 +0100)
commit9d9c98e89ee24b7d42f72c4f663c4d644d1c3f81
tree3293d60d3a88405c2b3e1205cec40b6ea8dea173
parent3a86e1807a53b7164c4ca2aec538d8a5d15416f1
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>
drivers/pcmcia/Kconfig