PCMCIA: fix pxa2xx_lubbock modular build error
authorMarc Zyngier <maz@misterjones.org>
Tue, 15 Dec 2009 20:11:21 +0000 (21:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 16 Dec 2009 20:11:02 +0000 (20:11 +0000)
commita7a5ac58df0832daf7774b083c33032a7d26c792
treeca131e0237e6192551e2c36565976f91f65184d4
parentd93626e861eaab387950ec34346961013ba28d5e
PCMCIA: fix pxa2xx_lubbock modular build error

Commit d0d26c33b63c7ec10c3fdf9c7ce0aa035f0b3200 broke the driver by
propagating a pointer to the platform_device where a pointer to the
generic device was expected, leading to a spectacular crash...

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/pxa2xx_base.c