summaryrefslogtreecommitdiffstats
path: root/drivers/net/fs_enet/fs_enet-main.c
diff options
context:
space:
mode:
authorMarcelo Tosatti2005-11-09 14:00:16 +0100
committerPaul Mackerras2005-11-10 01:25:02 +0100
commitf7b9996990bccaa9f53cbea7aea8ab5355e7f10c (patch)
treec9b8bce007618ccde2e4f82cb12d18e3e0f4aaad /drivers/net/fs_enet/fs_enet-main.c
parent[PATCH] ppc32: fix ppc44x fpu build (diff)
downloadkernel-qcow2-linux-f7b9996990bccaa9f53cbea7aea8ab5355e7f10c.tar.gz
kernel-qcow2-linux-f7b9996990bccaa9f53cbea7aea8ab5355e7f10c.tar.xz
kernel-qcow2-linux-f7b9996990bccaa9f53cbea7aea8ab5355e7f10c.zip
[PATCH] fs_enet build fix
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>
Diffstat (limited to 'drivers/net/fs_enet/fs_enet-main.c')
-rw-r--r--drivers/net/fs_enet/fs_enet-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fs_enet/fs_enet-main.c b/drivers/net/fs_enet/fs_enet-main.c
index 9342d5bc7bb4..f5d49a110654 100644
--- a/drivers/net/fs_enet/fs_enet-main.c
+++ b/drivers/net/fs_enet/fs_enet-main.c
@@ -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>