aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/nxp/lpc_eth.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-08-09 16:40:36 +0200
committerArnd Bergmann <arnd@arndb.de>2019-08-15 21:34:00 +0200
commit35974a7cc23c5deb5597c0a42183172498c4a0a8 (patch)
tree59933c0d1f3d5ec0f8807f0a7a92b08c58b07c8b /drivers/net/ethernet/nxp/lpc_eth.c
parentnet: lpc-enet: fix printk format strings (diff)
downloadlinux-dev-35974a7cc23c5deb5597c0a42183172498c4a0a8.tar.xz
linux-dev-35974a7cc23c5deb5597c0a42183172498c4a0a8.zip
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>
Diffstat (limited to 'drivers/net/ethernet/nxp/lpc_eth.c')
-rw-r--r--drivers/net/ethernet/nxp/lpc_eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/nxp/lpc_eth.c b/drivers/net/ethernet/nxp/lpc_eth.c
index 96d509c418bf..141571e2ec11 100644
--- a/drivers/net/ethernet/nxp/lpc_eth.c
+++ b/drivers/net/ethernet/nxp/lpc_eth.c
@@ -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>