summaryrefslogtreecommitdiff
path: root/include/linux/ethtool.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-02-15 09:38:54 +0300
committerDavid S. Miller <davem@davemloft.net>2010-02-15 09:38:54 +0300
commita1467085dcad8214bbb1d7edafbaa295cbd8c0e7 (patch)
treeec84dea3795c9c694d35850407c9196c2fbc21d6 /include/linux/ethtool.h
parent1a5778aa000ebfec7f07eed0ffa2852ffb5d16bb (diff)
downloadlinux-a1467085dcad8214bbb1d7edafbaa295cbd8c0e7.tar.xz
ethtool: Fix includes build break
Based upon a patch by Oliver Hartkopp <oliver@hartkopp.net>. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ethtool.h')
-rw-r--r--include/linux/ethtool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index a3cac53a0766..cca1c3de140d 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -14,7 +14,6 @@
#define _LINUX_ETHTOOL_H
#include <linux/types.h>
-#include <linux/rculist.h>
/* This should work for both 32 and 64 bit userland. */
struct ethtool_cmd {
@@ -409,6 +408,8 @@ struct ethtool_flash {
#ifdef __KERNEL__
+#include <linux/rculist.h>
+
struct ethtool_rx_ntuple_flow_spec_container {
struct ethtool_rx_ntuple_flow_spec fs;
struct list_head list;