]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] fs_enet build fix
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Wed, 9 Nov 2005 13:00:16 +0000 (11:00 -0200)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 00:25:02 +0000 (11:25 +1100)
Due to the recent update of the platform code, some platform device
drivers fail to compile. This fix is for fs_enet, adding #include of a
new header, to which a number of platform stuff has been relocated.

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/net/fs_enet/fs_enet-main.c
drivers/net/fs_enet/mac-fcc.c
drivers/net/fs_enet/mac-fec.c
drivers/net/fs_enet/mac-scc.c

index 9342d5bc7bb4e46d809490489f8dd51c4135d801..f5d49a1106545ca68c00840137434d20b92c0dc2 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/ethtool.h>
 #include <linux/bitops.h>
 #include <linux/fs.h>
+#include <linux/platform_device.h>
 
 #include <linux/vmalloc.h>
 #include <asm/pgtable.h>
index a940b96433c7c5f90aeb9c0518ea3799c9560c20..e67b1d06611cfb84bf44ce65bf35bba4852f63a9 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/ethtool.h>
 #include <linux/bitops.h>
 #include <linux/fs.h>
+#include <linux/platform_device.h>
 
 #include <asm/immap_cpm2.h>
 #include <asm/mpc8260.h>
index 5ef4e845a387237961799a9de29afb1c6c67263e..2e8f444696999312562430600ecb55d4c0f096aa 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/ethtool.h>
 #include <linux/bitops.h>
 #include <linux/fs.h>
+#include <linux/platform_device.h>
 
 #include <asm/irq.h>
 #include <asm/uaccess.h>
index d8c6e9cadcf583f83305d80f7b2e0f04c5675363..a3897fda71fa448c4f5d341e084da0ae87ad2569 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/ethtool.h>
 #include <linux/bitops.h>
 #include <linux/fs.h>
+#include <linux/platform_device.h>
 
 #include <asm/irq.h>
 #include <asm/uaccess.h>