aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch')
-rw-r--r--target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch b/target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch
index 760ba4fc80..af8840fde2 100644
--- a/target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch
+++ b/target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch
@@ -136,3 +136,15 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
header-y += synclink.h
header-y += sync_file.h
header-y += sysctl.h
+--- a/include/linux/platform_data/b53.h
++++ b/include/linux/platform_data/b53.h
+@@ -25,6 +25,9 @@ struct b53_platform_data {
+ u32 chip_id;
+ u16 enabled_ports;
+
++ /* allow to specify an ethX alias */
++ const char *alias;
++
+ /* only used by MMAP'd driver */
+ unsigned big_endian:1;
+ void __iomem *regs;