]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
stmmac: introduce stmmac_get_platform_resources()
authorJoachim Eastwood <manabian@gmail.com>
Thu, 16 Jul 2015 22:26:07 +0000 (00:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:56 +0000 (20:45 -0700)
commitf396cb01210909ab2de0b50b76677892c1bfeb5a
tree9065937657c43af0d4fd7aec5403375e49ee77b4
parent4ed2d8fca7979ad82d56b67ac83a50bba2dd3419
stmmac: introduce stmmac_get_platform_resources()

Refactor all code that deals with platform resources into it's
own get function. This function will later be used in the probe
function in dwmac-* drivers.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c