add missing includes
authorGabor Juhos <juhosg@openwrt.org>
Fri, 15 May 2009 20:28:19 +0000 (20:28 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 15 May 2009 20:28:19 +0000 (20:28 +0000)
SVN-Revision: 15876

target/linux/gemini/patches/002-wbd111_support.patch
target/linux/gemini/patches/003-wbd111-static-flash-map.patch
target/linux/gemini/patches/005-gemini-add-missing-skbuff-include.patch [new file with mode: 0644]

index 3552ad06c3a00730539f2eca965a9101481a0e97..51b2db51967414214b11d0f32d9942e8c8366194 100644 (file)
@@ -1,6 +1,6 @@
 --- /dev/null
 +++ b/arch/arm/mach-gemini/board-wbd111.c
-@@ -0,0 +1,123 @@
+@@ -0,0 +1,124 @@
 +/*
 + *  Support for Wiliboard WBD-111
 + *
@@ -16,6 +16,7 @@
 +#include <linux/platform_device.h>
 +#include <linux/leds.h>
 +#include <linux/input.h>
++#include <linux/skbuff.h>
 +#include <linux/gpio_keys.h>
 +#include <linux/mdio-gpio.h>
 +#include <asm/mach-types.h>
index 9a2b2bd299283283e9b21792b4002ba0cc294a16..a226eb77f6a1e85234d4ae4e62b4e3e0f077bd9f 100644 (file)
@@ -1,14 +1,15 @@
 --- a/arch/arm/mach-gemini/board-wbd111.c
 +++ b/arch/arm/mach-gemini/board-wbd111.c
-@@ -15,6 +15,7 @@
- #include <linux/input.h>
+@@ -16,6 +16,8 @@
+ #include <linux/skbuff.h>
  #include <linux/gpio_keys.h>
  #include <linux/mdio-gpio.h>
++#include <linux/mtd/mtd.h>
 +#include <linux/mtd/partitions.h>
  #include <asm/mach-types.h>
  #include <asm/mach/arch.h>
  #include <asm/mach/time.h>
-@@ -101,11 +102,50 @@ static struct sys_timer wbd111_timer = {
+@@ -102,11 +104,50 @@ static struct sys_timer wbd111_timer = {
        .init   = gemini_timer_init,
  };
  
diff --git a/target/linux/gemini/patches/005-gemini-add-missing-skbuff-include.patch b/target/linux/gemini/patches/005-gemini-add-missing-skbuff-include.patch
new file mode 100644 (file)
index 0000000..6d0f4a2
--- /dev/null
@@ -0,0 +1,39 @@
+--- a/arch/arm/mach-gemini/devices.c
++++ b/arch/arm/mach-gemini/devices.c
+@@ -13,6 +13,7 @@
+ #include <linux/platform_device.h>
+ #include <linux/serial_8250.h>
+ #include <linux/mtd/physmap.h>
++#include <linux/skbuff.h>
+ #include <mach/irqs.h>
+ #include <mach/hardware.h>
+@@ -147,7 +148,7 @@ int platform_register_ethernet(struct ge
+       if (pdata->bus_id[1])
+               reg |= GMAC_1_ENABLE;
+       else if (pdata->interface[0] == PHY_INTERFACE_MODE_GMII)
+-              reg |= GMAC_GMII;               
++              reg |= GMAC_GMII;
+       __raw_writel(reg, IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_MISC_CTRL);
+--- a/drivers/net/phy/mdio-bitbang.c
++++ b/drivers/net/phy/mdio-bitbang.c
+@@ -18,6 +18,7 @@
+  */
+ #include <linux/module.h>
++#include <linux/skbuff.h>
+ #include <linux/mdio-bitbang.h>
+ #include <linux/slab.h>
+ #include <linux/types.h>
+--- a/drivers/net/phy/mdio-gpio.c
++++ b/drivers/net/phy/mdio-gpio.c
+@@ -25,6 +25,7 @@
+ #include <linux/init.h>
+ #include <linux/interrupt.h>
+ #include <linux/platform_device.h>
++#include <linux/skbuff.h>
+ #include <linux/gpio.h>
+ #include <linux/mdio-gpio.h>