ethtool: Fix includes build break
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2010 06:38:54 +0000 (22:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2010 06:38:54 +0000 (22:38 -0800)
Based upon a patch by Oliver Hartkopp <oliver@hartkopp.net>.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h

index a3cac53a0766ddf616e6dbe981c91ff582321de0..cca1c3de140d538f84c7580b249f6b5f609b90e4 100644 (file)
@@ -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;