summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pxa2xx_base.h
diff options
context:
space:
mode:
authorRussell King2006-10-28 23:42:56 +0200
committerRussell King2006-10-28 23:42:56 +0200
commit9468613b2bb0a386af563953b613efc6c77bd8c1 (patch)
tree2181a22d0d4eca134adc9a091303aa6dabd98e91 /drivers/pcmcia/pxa2xx_base.h
parent[ARM] Fix i2c-pxa slave mode support (diff)
downloadkernel-qcow2-linux-9468613b2bb0a386af563953b613efc6c77bd8c1.tar.gz
kernel-qcow2-linux-9468613b2bb0a386af563953b613efc6c77bd8c1.tar.xz
kernel-qcow2-linux-9468613b2bb0a386af563953b613efc6c77bd8c1.zip
[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>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_base.h')
-rw-r--r--drivers/pcmcia/pxa2xx_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/pxa2xx_base.h b/drivers/pcmcia/pxa2xx_base.h
index e46cff345d47..235d681652c3 100644
--- a/drivers/pcmcia/pxa2xx_base.h
+++ b/drivers/pcmcia/pxa2xx_base.h
@@ -1,3 +1,3 @@
/* temporary measure */
-extern int pxa2xx_drv_pcmcia_probe(struct device *);
+extern int __pxa2xx_drv_pcmcia_probe(struct device *);