net: lpc-enet: allow compile testing
The lpc-enet driver can now be built on all platforms, so allow compile testing as well. Add one missing header inclusion that is required in some configurations. Link: https://lore.kernel.org/r/20190809144043.476786-11-arnd@arndb.de Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
de6f97b2ba
commit
35974a7cc2
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
config LPC_ENET
|
||||
tristate "NXP ethernet MAC on LPC devices"
|
||||
depends on ARCH_LPC32XX
|
||||
depends on ARCH_LPC32XX || COMPILE_TEST
|
||||
select PHYLIB
|
||||
help
|
||||
Say Y or M here if you want to use the NXP ethernet MAC included on
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include <linux/crc32.h>
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/of.h>
|
||||
#include <linux/of_net.h>
|
||||
#include <linux/phy.h>
|
||||
#include <linux/platform_device.h>
|
||||
|
|
Loading…
Reference in New Issue