oxnas: add missing semicolon
[openwrt.git] / target / linux / oxnas / patches-4.1 / 700-oxnas-dwmac.patch
1 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
2 +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
3 @@ -20,7 +20,7 @@ config STMMAC_PLATFORM
4         ---help---
5           This selects the platform specific bus support for the stmmac driver.
6           This is the driver used on several SoCs:
7 -         STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
8 +         STi, Allwinner, Amlogic Meson, Altera SOCFPGA and Oxnas.
9  
10           If you have a controller with this interface, say Y or M here.
11  
12 --- a/drivers/net/ethernet/stmicro/stmmac/Makefile
13 +++ b/drivers/net/ethernet/stmicro/stmmac/Makefile
14 @@ -5,8 +5,9 @@ stmmac-objs:= stmmac_main.o stmmac_ethto
15               mmc_core.o stmmac_hwtstamp.o stmmac_ptp.o $(stmmac-y)
16  
17  obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-platform.o
18 -stmmac-platform-objs:= stmmac_platform.o dwmac-meson.o dwmac-sunxi.o   \
19 -                      dwmac-sti.o dwmac-socfpga.o dwmac-rk.o
20 +stmmac-platform-objs:= stmmac_platform.o dwmac-meson.o dwmac-oxnas.o   \
21 +                      dwmac-sunxi.o dwmac-sti.o dwmac-socfpga.o        \
22 +                      dwmac-rk.o
23  
24  obj-$(CONFIG_STMMAC_PCI) += stmmac-pci.o
25  stmmac-pci-objs:= stmmac_pci.o
26 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
27 +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
28 @@ -34,6 +34,7 @@
29  
30  static const struct of_device_id stmmac_dt_ids[] = {
31         /* SoC specific glue layers should come before generic bindings */
32 +       { .compatible = "plxtech,nas782x-gmac", .data = &oxnas_gmac_data},
33         { .compatible = "rockchip,rk3288-gmac", .data = &rk3288_gmac_data},
34         { .compatible = "amlogic,meson6-dwmac", .data = &meson6_dwmac_data},
35         { .compatible = "allwinner,sun7i-a20-gmac", .data = &sun7i_gmac_data},
36 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h
37 +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h
38 @@ -25,5 +25,6 @@ extern const struct stmmac_of_data stih4
39  extern const struct stmmac_of_data stid127_dwmac_data;
40  extern const struct stmmac_of_data socfpga_gmac_data;
41  extern const struct stmmac_of_data rk3288_gmac_data;
42 +extern const struct stmmac_of_data oxnas_gmac_data;
43  
44  #endif /* __STMMAC_PLATFORM_H__ */