summaryrefslogtreecommitdiff
path: root/recipes/ixp425-eth/ixp400-eth-1.5/2.6.15.patch
blob: 83115d8efa8b855dc3154c6fa3e918001027bf82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2.6.15 needs platform_device.h

 ixp400_eth.c |    4 ++++
 1 file changed, 4 insertions(+)

--- ixp400-eth/ixp400_eth.c	1970-01-01 00:00:00.000000000 +0000
+++ ixp400-eth/ixp400_eth.c	1970-01-01 00:00:00.000000000 +0000
@@ -65,6 +65,10 @@
 #include <linux/sysctl.h>
 #include <linux/unistd.h>
 
+#ifndef to_platform_device
+#include <linux/platform_device.h>
+#endif
+
 /*
  * Intel IXP400 Software specific header files
  */