mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
9468613b2b
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>
4 lines
80 B
C
4 lines
80 B
C
/* temporary measure */
|
|
extern int __pxa2xx_drv_pcmcia_probe(struct device *);
|
|
|