[PATCH 1/1] pcmcia: select crc32 in Kconfig for PCMCIA [Was: Re: pcmcia compile problems in 2.6.11-mm4 and above]

From: Dominik Brodowski
Date: Mon Mar 21 2005 - 14:17:08 EST


On Mon, Mar 21, 2005 at 04:01:43PM +0100, Norbert Preining wrote:
> HI Andrew!
>
> Compiling 2.6.12-rc1-mm1 with the attached config gives me an error
> while compiling pcmcia (I made a make oldconfig)
> drivers/built-in.o(.text+0xaf2a2): In function `pcmcia_check_driver':
> : undefined reference to `crc32_le'
> drivers/built-in.o(.text+0xafef1): In function `pcmcia_bus_hotplug':
> : undefined reference to `crc32_le'
>
> compiling pcmcia modular works.

That's a missing dependency on CONFIG_CRC32. Could you check whether this
patch helps, please?


PCMCIA needs CRC32.

Signed-off-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>

Index: linux-2.6.12-rc1/drivers/pcmcia/Kconfig
===================================================================
--- linux-2.6.12-rc1.orig/drivers/pcmcia/Kconfig 2005-03-21 20:07:42.000000000 +0100
+++ linux-2.6.12-rc1/drivers/pcmcia/Kconfig 2005-03-21 20:12:00.000000000 +0100
@@ -42,6 +42,7 @@

config PCMCIA
tristate "16-bit PCMCIA support"
+ select CRC32
default y
---help---
This option enables support for 16-bit PCMCIA cards. Most older
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/