ethernet: fix crash when not use gpioz14/15 [1/1]
authorZhuo Wang <zhuo.wang@amlogic.com>
Thu, 25 Oct 2018 09:40:44 +0000 (17:40 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 26 Oct 2018 06:56:50 +0000 (23:56 -0700)
commit841e4fb4f1e68f289ed9d20252fb5b4f55ee2b35
treedba748eaa2d9eb48297690b39f8acc3382650308
parentf5040dfe88fb15e94f675378ca5ac18664c0b4ab
ethernet: fix crash when not use gpioz14/15 [1/1]

PD#174843

Problem:
g12b will crash when not include internal_eth_pins

Solution:
continue when it null

Verify:
verified in w400 with liaomin

Change-Id: Ib636e307f0697fa4eab1d0784543af96641def2e
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c