diff options
| author | Matt Redfearn <[email protected]> | 2017-11-14 15:44:23 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2018-01-10 15:39:03 +0000 |
| commit | ecff167cc80dd3c6afff55bdc66b4981d587ba3e (patch) | |
| tree | b2ec4f04682292f59918cbac3d954bd37eba24e6 /drivers/fpga/fpga-region.c | |
| parent | MIPS: RB532: Avoid undefined early_serial_setup() without SERIAL_8250_CONSOLE (diff) | |
| download | kernel-ecff167cc80dd3c6afff55bdc66b4981d587ba3e.tar.gz kernel-ecff167cc80dd3c6afff55bdc66b4981d587ba3e.zip | |
MIPS: RB532: Avoid undefined mac_pton without GENERIC_NET_UTILS
Currently MIPS allnoconfig with CONFIG_MIKROTIK_RB532=y fails to link
due to missing support for mac_pton():
LD vmlinux
arch/mips/rb532/devices.o: In function `setup_kmac':
devices.c:(.init.text+0xc): undefined reference to `mac_pton'
Rather than adding dependencies to the platform to force inclusion of
GENERIC_NET_UTILS which is selected by CONFIG_NET, just exclude the
setup of the MAC address if CONFIG_NET is not selected in the kernel
config.
Signed-off-by: Matt Redfearn <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Boris Brezillon <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Vladimir Zapolskiy <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/17702/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
