[PATCH] pcmcia/omap_cf: don't redefine SZ_2K

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sun Jan 24 05:30:48 EST 2010


On Sun, Jan 24, 2010 at 10:16:07AM +0100, Dominik Brodowski wrote:
> Hey Uwe,
> 
> On Sat, Jan 23, 2010 at 09:59:22PM +0100, Uwe Kleine-König wrote:
> > This fixes:
> > 
> > 	drivers/pcmcia/omap_cf.c:74:1: warning: "SZ_2K" redefined
> > 
> > Since
> > 
> > 	c1191b0 ([ARM] Kirkwood: create a mapping for the Security Accelerator SRAM)
> > 
> > SZ_2K is defined in arch/arm/include/asm/sizes.h.
> 
> What about AVR32? Is this driver unused here, too?
OMAP_CF depends on ARCH_OMAP16XX which in turn is only defined in
arch/arm/mach-omap1/Kconfig.  I don't know much about avr32, but AFAIK
it's only AT91 and AVR32 that share some devices as they both come from
Atmel.

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |



More information about the linux-pcmcia mailing list