diff --git a/target/linux/lantiq/patches-6.6/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch b/target/linux/lantiq/patches-6.6/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch index f65959b1de9..b6abd9f73d1 100644 --- a/target/linux/lantiq/patches-6.6/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch +++ b/target/linux/lantiq/patches-6.6/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch @@ -70,7 +70,7 @@ Signed-off-by: John Crispin +} + +static int ath5k_eep_load; -+int __init of_ath5k_eeprom_probe(struct platform_device *pdev) ++static int __init of_ath5k_eeprom_probe(struct platform_device *pdev) +{ + struct device_node *np = pdev->dev.of_node, *mtd_np = NULL; + int mac_offset; @@ -174,7 +174,7 @@ Signed-off-by: John Crispin +subsys_initcall(of_ath5k_eeprom_init); --- /dev/null +++ b/arch/mips/lantiq/xway/eth_mac.c -@@ -0,0 +1,25 @@ +@@ -0,0 +1,26 @@ +/* + * Copyright (C) 2012 John Crispin + * @@ -183,6 +183,7 @@ Signed-off-by: John Crispin + * by the Free Software Foundation. + */ + ++#include +#include +#include +