lantiq: Change the data-type of mac address in ETOP driver
[openwrt/openwrt.git] / target / linux / lantiq / patches-4.1 / 0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
index 72ae1c92f37a391cfa834b6a4fe8c95b63c71715..ec769ccf63c3699d08deadf9e6ae1bc68a6e3f12 100644 (file)
@@ -590,15 +590,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +device_initcall(of_ralink_eeprom_init);
 --- a/drivers/net/ethernet/lantiq_etop.c
 +++ b/drivers/net/ethernet/lantiq_etop.c
-@@ -161,7 +161,7 @@ struct ltq_etop_priv {
-       int tx_irq;
-       int rx_irq;
--      const void *mac;
-+      void *mac;
-       int mii_mode;
-       spinlock_t lock;
 @@ -840,7 +840,11 @@ ltq_etop_init(struct net_device *dev)
        if (err)
                goto err_hw;