net: ethernet: enc28j60: add device tree support
authorMichael Heimpold <mhei@heimpold.de>
Thu, 28 Apr 2016 20:06:15 +0000 (22:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 20:23:02 +0000 (16:23 -0400)
commit2dd355a007e44960ec049c75920ddb6778fec9ee
tree0d26dc8a3b48997cd48a1bfbe59562588a354be0
parent2957a28a0e874aea0f734e2897b27f669502a970
net: ethernet: enc28j60: add device tree support

The following patch adds the required match table for device tree support
(and while at, fix the indent). It's also possible to specify the
MAC address in the DT blob.

Also add the corresponding binding documentation file.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/microchip,enc28j60.txt [new file with mode: 0644]
drivers/net/ethernet/microchip/enc28j60.c