stmmac: export probe_config_dt() and get_platform_resources()
authorJoachim Eastwood <manabian@gmail.com>
Thu, 16 Jul 2015 22:26:09 +0000 (00:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:57 +0000 (20:45 -0700)
commit402dae0bed98dd41c5d6ab321135e8568a54819e
tree8b747b6a75d3324a78ac7229efb9c687dfef7a6c
parentb0003ead75f394f1c6f3b704be5da8e9eb029f8c
stmmac: export probe_config_dt() and get_platform_resources()

Export stmmac_probe_config_dt() and stmmac_get_platform_resources()
so they can be used in the dwmac-* drivers themselves. This will
allow us to build more flexible and standalone drivers which just
use stmmac_platform as a library for setup functions.

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
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h