浏览代码

[NET]: Add missing include to linux/netdevice.h

linux/etherdevice.h can't be included standalone at the moment, which
is required in order to sort the header files in the recommended
alphabetic order. This patch fixes that and is needed to build spider_net.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Arnd Bergmann 20 年之前
父节点
当前提交
bcd61272db
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/linux/etherdevice.h

+ 1 - 0
include/linux/etherdevice.h

@@ -25,6 +25,7 @@
 #define _LINUX_ETHERDEVICE_H
 
 #include <linux/if_ether.h>
+#include <linux/netdevice.h>
 #include <linux/random.h>
 
 #ifdef __KERNEL__