diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-05-15 20:28:19 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-05-15 20:28:19 +0000 |
commit | bf976b7c4a3b804ebcb8d98d5ac0b1fd0ea15fe6 (patch) | |
tree | eef6998d1467c9751463ae3cfb952ccf0598c535 /target/linux/gemini/patches/005-gemini-add-missing-skbuff-include.patch | |
parent | 484b8a64933a9c34564fb772ad62e84c4dc231ff (diff) | |
download | master-187ad058-bf976b7c4a3b804ebcb8d98d5ac0b1fd0ea15fe6.tar.gz master-187ad058-bf976b7c4a3b804ebcb8d98d5ac0b1fd0ea15fe6.tar.bz2 master-187ad058-bf976b7c4a3b804ebcb8d98d5ac0b1fd0ea15fe6.zip |
[gemini] add missing includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15876 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/gemini/patches/005-gemini-add-missing-skbuff-include.patch')
-rw-r--r-- | target/linux/gemini/patches/005-gemini-add-missing-skbuff-include.patch | 39 |
1 files changed, 39 insertions, 0 deletions
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 index 0000000000..6d0f4a2469 --- /dev/null +++ b/target/linux/gemini/patches/005-gemini-add-missing-skbuff-include.patch @@ -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> + |