提交 a1467085 编写于 作者: D David S. Miller

ethtool: Fix includes build break

Based upon a patch by Oliver Hartkopp <oliver@hartkopp.net>.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1a5778aa
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#define _LINUX_ETHTOOL_H #define _LINUX_ETHTOOL_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/rculist.h>
/* This should work for both 32 and 64 bit userland. */ /* This should work for both 32 and 64 bit userland. */
struct ethtool_cmd { struct ethtool_cmd {
...@@ -409,6 +408,8 @@ struct ethtool_flash { ...@@ -409,6 +408,8 @@ struct ethtool_flash {
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/rculist.h>
struct ethtool_rx_ntuple_flow_spec_container { struct ethtool_rx_ntuple_flow_spec_container {
struct ethtool_rx_ntuple_flow_spec fs; struct ethtool_rx_ntuple_flow_spec fs;
struct list_head list; struct list_head list;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册