]> err.no Git - linux-2.6/commitdiff
drivers/net: Use linux/of_{device,platform}.h instead of asm
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 23 May 2008 06:28:54 +0000 (16:28 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:30:36 +0000 (22:30 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/net/fs_enet/fs_enet-main.c
drivers/net/fs_enet/mac-scc.c
drivers/net/fs_enet/mii-fec.c
drivers/net/ibm_newemac/core.h
drivers/net/ucc_geth.c
drivers/net/ucc_geth_mii.c

index a5baaf59ff6660ded12ed97117fb164f3d71bf3d..352574a3f056ae81f260e144f10211eabf5008e4 100644 (file)
@@ -43,7 +43,7 @@
 #include <asm/uaccess.h>
 
 #ifdef CONFIG_PPC_CPM_NEW_BINDING
-#include <asm/of_platform.h>
+#include <linux/of_platform.h>
 #endif
 
 #include "fs_enet.h"
index d7ca31945c828f04f0c430e19569a98fe3c958f0..e3557eca7b6d18706cc8f4e473d85a133767cce4 100644 (file)
@@ -44,7 +44,7 @@
 #endif
 
 #ifdef CONFIG_PPC_CPM_NEW_BINDING
-#include <asm/of_platform.h>
+#include <linux/of_platform.h>
 #endif
 
 #include "fs_enet.h"
index f0014cfbb275ab9206cfe2f55765be08f4a88e84..8f6a43b0e0ff18c73de6185733cce9794aa7c536 100644 (file)
@@ -37,7 +37,7 @@
 #include <asm/uaccess.h>
 
 #ifdef CONFIG_PPC_CPM_NEW_BINDING
-#include <asm/of_platform.h>
+#include <linux/of_platform.h>
 #endif
 
 #include "fs_enet.h"
index 1683db9870a467fdba8d591bb086c447791598d5..223090466760c1bf0fc3786b178939ae9e8b583e 100644 (file)
@@ -33,8 +33,8 @@
 #include <linux/netdevice.h>
 #include <linux/dma-mapping.h>
 #include <linux/spinlock.h>
+#include <linux/of_platform.h>
 
-#include <asm/of_platform.h>
 #include <asm/io.h>
 #include <asm/dcr.h>
 
index fb0b918e5ccb3790f688655534280e4670102d56..402e81020fb8fd583a1a201f63161bd0418b7b16 100644 (file)
@@ -28,8 +28,8 @@
 #include <linux/mii.h>
 #include <linux/phy.h>
 #include <linux/workqueue.h>
+#include <linux/of_platform.h>
 
-#include <asm/of_platform.h>
 #include <asm/uaccess.h>
 #include <asm/irq.h>
 #include <asm/io.h>
index 940474736922d1f15f4f217da2510e3046e9d51f..6d9e7ad9fda9369b594ee73965e3967d4a1900e7 100644 (file)
@@ -36,8 +36,8 @@
 #include <linux/mii.h>
 #include <linux/phy.h>
 #include <linux/fsl_devices.h>
+#include <linux/of_platform.h>
 
-#include <asm/of_platform.h>
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/uaccess.h>