summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cadence/macb.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-07-24 21:24:01 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-27 01:10:29 -0700
commita35919e174350d3e236ea5f179177396e87b6894 (patch)
tree6bc45ed3070d9b0921b6c9fe3c20ffe87033fac5 /drivers/net/ethernet/cadence/macb.h
parentf36dbe6a285e0628e67b7bd9d3b08599184d7d2c (diff)
net/macb: use dev_*() when netdev is not yet registered
To avoid messages like macb macb.0 (unnamed net_device) (uninitialized): Cadence caps 0x00000000 macb macb.0 (unnamed net_device) (uninitialized): invalid hw address, using random let's use dev_*() macros. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.h')
0 files changed, 0 insertions, 0 deletions