kernel: b53: look for NVRAM's "robo_reset" entry on every platform
authorRafał Miłecki <rafal@milecki.pl>
Tue, 13 Mar 2018 11:09:20 +0000 (12:09 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 21 Mar 2018 05:56:43 +0000 (06:56 +0100)
commit0de2213eeade7173e49cd36ef95ada750a4cc173
tree27c26ea2006aa0159a9390cafd2b6195b7490932
parent6fe9277d0c47777c27e162262e5337765e69d422
kernel: b53: look for NVRAM's "robo_reset" entry on every platform

Since kernel 4.1 bcm47xx_nvram_gpio_pin() is now defined in a global
header and can be safely called even on non-Broadcom platforms.

This change makes b53 look for "robo_reset" on ARCH_BCM_5301X and
slightly simplifies the code.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/generic/files/drivers/net/phy/b53/b53_priv.h