From edea5bf8fea8f42d639a2e925ee168748ee97ac9 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 15 May 2009 20:28:19 +0000 Subject: [gemini] add missing includes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15876 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/gemini/patches/002-wbd111_support.patch | 3 +- .../patches/003-wbd111-static-flash-map.patch | 7 ++-- .../005-gemini-add-missing-skbuff-include.patch | 39 ++++++++++++++++++++++ 3 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 target/linux/gemini/patches/005-gemini-add-missing-skbuff-include.patch (limited to 'target/linux/gemini/patches') diff --git a/target/linux/gemini/patches/002-wbd111_support.patch b/target/linux/gemini/patches/002-wbd111_support.patch index 3552ad06c..51b2db519 100644 --- a/target/linux/gemini/patches/002-wbd111_support.patch +++ b/target/linux/gemini/patches/002-wbd111_support.patch @@ -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 +#include +#include ++#include +#include +#include +#include diff --git a/target/linux/gemini/patches/003-wbd111-static-flash-map.patch b/target/linux/gemini/patches/003-wbd111-static-flash-map.patch index 9a2b2bd29..a226eb77f 100644 --- a/target/linux/gemini/patches/003-wbd111-static-flash-map.patch +++ b/target/linux/gemini/patches/003-wbd111-static-flash-map.patch @@ -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 +@@ -16,6 +16,8 @@ + #include #include #include ++#include +#include #include #include #include -@@ -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 index 000000000..6d0f4a246 --- /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 + #include + #include ++#include + + #include + #include +@@ -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 ++#include + #include + #include + #include +--- a/drivers/net/phy/mdio-gpio.c ++++ b/drivers/net/phy/mdio-gpio.c +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + #include + -- cgit v1.2.3