kernel: Move modifications of b53.h into patch
[openwrt/staging/chunkeey.git] / target / linux / generic / hack-4.9 / 700-swconfig_switch_drivers.patch
index 760ba4fc800928e1f2c4778c687644c289152955..af8840fde2f1bf068d07eb35789e487becde8aae 100644 (file)
@@ -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;