On Fri, 2019-03-01 at 21:46 -0800, David Miller wrote:
> From: Andy Shevchenko
> Date: Thu, 28 Feb 2019 23:34:29 +0300
>
> > @@ -1554,7 +1554,7 @@ static int enc28j60_probe(struct spi_device *spi)
> > {
> > struct net_device *dev;
> > struct enc28j60_net *priv;
> > - const void *
From: Andy Shevchenko
Date: Thu, 28 Feb 2019 23:34:29 +0300
> @@ -1554,7 +1554,7 @@ static int enc28j60_probe(struct spi_device *spi)
> {
> struct net_device *dev;
> struct enc28j60_net *priv;
> - const void *macaddr;
> + unsigned char macaddr[ETH_ALEN];
> int ret = 0;
Replace the DT-specific of_get_mac_address() function with
device_get_mac_address, which works on both DT and ACPI platforms. This
change makes it easier to add ACPI support.
Signed-off-by: Andy Shevchenko
---
drivers/net/ethernet/microchip/enc28j60.c | 7 +++
1 file changed, 3 insertions(+