]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
pcmcia: Use linux/of_{device,platform}.h instead of asm
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 23 May 2008 06:31:08 +0000 (16:31 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:30:38 +0000 (22:30 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Vitaly Bordug <vitb@kernel.crashing.org>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/pcmcia/electra_cf.c
drivers/pcmcia/m8xx_pcmcia.c

index 52d0aa8c2e7a8d40eb21bef29a7f062c0f904017..c21f9a9c3e3f45d04b034d0e291652039c032918 100644 (file)
@@ -29,9 +29,9 @@
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/vmalloc.h>
+#include <linux/of_platform.h>
 
 #include <pcmcia/ss.h>
-#include <asm/of_platform.h>
 
 static const char driver_name[] = "electra-cf";
 
index ac70d2cb7dd409764deb755e13e821d366702d5f..9c5be9a2f3fd5796b0e9f6c2b341cfbdc8edd706 100644 (file)
@@ -49,6 +49,8 @@
 #include <linux/interrupt.h>
 #include <linux/fsl_devices.h>
 #include <linux/bitops.h>
+#include <linux/of_device.h>
+#include <linux/of_platform.h>
 
 #include <asm/io.h>
 #include <asm/system.h>
@@ -57,8 +59,6 @@
 #include <asm/8xx_immap.h>
 #include <asm/irq.h>
 #include <asm/fs_pd.h>
-#include <asm/of_device.h>
-#include <asm/of_platform.h>
 
 #include <pcmcia/version.h>
 #include <pcmcia/cs_types.h>