]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] Fix suspend oops caused by PXA2xx PCMCIA driver
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 28 Oct 2006 21:42:56 +0000 (22:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 28 Oct 2006 21:42:56 +0000 (22:42 +0100)
commit2244f82c57632dd26a1459e7556b50ea7fc9ae44
tree2181a22d0d4eca134adc9a091303aa6dabd98e91
parent289555b185d33f74bc1d1b2942d2910d67c82da0
[ARM] Fix suspend oops caused by PXA2xx PCMCIA driver

The PXA2xx PCMCIA driver was registering a device_driver with the
platform_bus_type.  Unfortunately, this causes data outside the
device_driver structure to be dereferenced as if it were a
platform_driver structure, causing an oops.  Convert the PXA2xx
core driver to use the proper platform_driver structure.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/pcmcia/pxa2xx_base.c
drivers/pcmcia/pxa2xx_base.h
drivers/pcmcia/pxa2xx_lubbock.c