summaryrefslogtreecommitdiffstats
path: root/drivers/net/mpc512x_fec.c
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2016-06-27 13:17:51 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2016-07-06 10:45:00 -0500
commit66d027e22c55534135a43da794d31fcc98509913 (patch)
treee7b351d550528beb390f5176dadad516e6569ac1 /drivers/net/mpc512x_fec.c
parent2307ea4053cdf45174f842312d07f538bf5be5f6 (diff)
downloadblackbird-obmc-uboot-66d027e22c55534135a43da794d31fcc98509913.tar.gz
blackbird-obmc-uboot-66d027e22c55534135a43da794d31fcc98509913.zip
net: designware: Make driver independent from DM_GPIO again
Commit 90b7fc924adf "net: designware: support phy reset device-tree bindings" made DW GMAC driver dependent on DM_GPIO by unconditional usage of purely DM_GPIO stuff like: * dm_gpio_XXX() * gpio_request_by_name() But since that driver as of today might be easily used without DM_GPIO (that's the case for Synopsys AXS10x boards) we're shielding all DM_GPIO things by ifdefs. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Simon Glass <sjg@chromium.org> Cc: Beniamino Galvani <b.galvani@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Cc: Sonic Zhang <sonic.zhang@analog.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Marek Vasut <marex@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/mpc512x_fec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud