]> git.baikalelectronics.ru Git - kernel.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)
commita7191813169742ff1d638c1f3efe675317795a93
tree44039c05911990a2abcea350718778b01ca882cc
parent7135d754c7c718bf9b2ffa0ea9d0305bf927bab2
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