net: ll_temac: Extend support to non-device-tree platforms
authorEsben Haabendal <esben@geanix.com>
Tue, 30 Apr 2019 07:17:49 +0000 (09:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 18:33:30 +0000 (14:33 -0400)
commit8425c41d1ef762cc15d9501d7117f009a79f3fe9
tree5b4a099ad4cee840a745ef01c87d602b527773f3
parenta63625d2a0e794f9a348a7119e50b0a56cbd6a18
net: ll_temac: Extend support to non-device-tree platforms

Support initialization with platdata, so the driver can be used on
non-device-tree platforms.

For currently supported device-tree platforms, the driver should behave
as before.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac.h
drivers/net/ethernet/xilinx/ll_temac_main.c
drivers/net/ethernet/xilinx/ll_temac_mdio.c
include/linux/platform_data/xilinx-ll-temac.h [new file with mode: 0644]