]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: ti: cpsw: Block off ofdata_to_platdata with OF_CONTROL
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 18 Mar 2019 08:24:35 +0000 (13:54 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2019 12:05:53 +0000 (08:05 -0400)
commitc3b460a516c93ff43194a88d8675598a33bae1aa
treefbe161e94dad371d33bf976be4a3cab95e1cdeab
parenta58d222df9be560e7fdba0300ca57b02b1362ded
net: ti: cpsw: Block off ofdata_to_platdata with OF_CONTROL

The ofdata_to_platdata function should not be called if OF_CONTROL is
not enabled because fdtdec_* calls will fail. Block the function with
OF_CONTROL

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
drivers/net/ti/cpsw.c