Commit 35974a7c authored by Arnd Bergmann's avatar Arnd Bergmann

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.deSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent de6f97b2
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config LPC_ENET config LPC_ENET
tristate "NXP ethernet MAC on LPC devices" tristate "NXP ethernet MAC on LPC devices"
depends on ARCH_LPC32XX depends on ARCH_LPC32XX || COMPILE_TEST
select PHYLIB select PHYLIB
help help
Say Y or M here if you want to use the NXP ethernet MAC included on Say Y or M here if you want to use the NXP ethernet MAC included on
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <linux/crc32.h> #include <linux/crc32.h>
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/of.h>
#include <linux/of_net.h> #include <linux/of_net.h>
#include <linux/phy.h> #include <linux/phy.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment