mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Russell King](/assets/img/avatar_default.png)
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>
3 lines
80 B
C
3 lines
80 B
C
/* temporary measure */
|
|
extern int __pxa2xx_drv_pcmcia_probe(struct device *);
|
|
|