]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
stmmac: pci: Use stmmac_pci_info for all devices
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 22 Jun 2017 06:17:58 +0000 (08:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jun 2017 17:39:56 +0000 (13:39 -0400)
commitb6a4c8f013ea2dd1ead7ee14b44712189a7bc6c6
tree44039c05911990a2abcea350718778b01ca882cc
parentc5d5287ef0f763e836bf94659b3a6080358373f1
stmmac: pci: Use stmmac_pci_info for all devices

Make stmmac_default_data compatible with stmmac_pci_info.setup and use
an info structure for all devices. This allows to make the probing more
regular.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c