[kernel] export rescan_partitions to prevent linking failures in block2mtd (#6741)
[openwrt.git] / target / linux / gemini / patches / 005-gemini-add-missing-skbuff-include.patch
1 --- a/arch/arm/mach-gemini/devices.c
2 +++ b/arch/arm/mach-gemini/devices.c
3 @@ -13,6 +13,7 @@
4 #include <linux/platform_device.h>
5 #include <linux/serial_8250.h>
6 #include <linux/mtd/physmap.h>
7 +#include <linux/skbuff.h>
8
9 #include <mach/irqs.h>
10 #include <mach/hardware.h>
11 @@ -147,7 +148,7 @@ int platform_register_ethernet(struct ge
12 if (pdata->bus_id[1])
13 reg |= GMAC_1_ENABLE;
14 else if (pdata->interface[0] == PHY_INTERFACE_MODE_GMII)
15 - reg |= GMAC_GMII;
16 + reg |= GMAC_GMII;
17
18 __raw_writel(reg, IO_ADDRESS(GEMINI_GLOBAL_BASE) + GLOBAL_MISC_CTRL);
19
20 --- a/drivers/net/phy/mdio-bitbang.c
21 +++ b/drivers/net/phy/mdio-bitbang.c
22 @@ -18,6 +18,7 @@
23 */
24
25 #include <linux/module.h>
26 +#include <linux/skbuff.h>
27 #include <linux/mdio-bitbang.h>
28 #include <linux/slab.h>
29 #include <linux/types.h>
30 --- a/drivers/net/phy/mdio-gpio.c
31 +++ b/drivers/net/phy/mdio-gpio.c
32 @@ -25,6 +25,7 @@
33 #include <linux/init.h>
34 #include <linux/interrupt.h>
35 #include <linux/platform_device.h>
36 +#include <linux/skbuff.h>
37 #include <linux/gpio.h>
38 #include <linux/mdio-gpio.h>
39
This page took 0.051272 seconds and 5 git commands to generate.