summaryrefslogtreecommitdiffstats
path: root/src/net/ethernet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ethernet.c')
-rw-r--r--src/net/ethernet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ethernet.c b/src/net/ethernet.c
index 1ca92a20f..a4bdfd4ee 100644
--- a/src/net/ethernet.c
+++ b/src/net/ethernet.c
@@ -239,5 +239,8 @@ struct net_device * alloc_etherdev ( size_t priv_size ) {
return netdev;
}
+/* Drag in Ethernet configuration */
+REQUIRE_OBJECT ( config_ethernet );
+
/* Drag in Ethernet slow protocols */
REQUIRE_OBJECT ( eth_slow );