aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2014-02-12 22:14:59 +0000
committerDavid S. Miller <davem@davemloft.net>2014-02-12 17:33:04 -0500
commitba569dc3e8b9964a91da0cb802d3e46796e1168e (patch)
treefb30c8311255f1be9fe5555c340c4b41cb8e5224 /include/uapi
parentethtool: Document the general convention for VLAs in kernel space (diff)
downloadlinux-dev-ba569dc3e8b9964a91da0cb802d3e46796e1168e.tar.xz
linux-dev-ba569dc3e8b9964a91da0cb802d3e46796e1168e.zip
ethtool: Move kernel-doc comment next to struct ethtool_dump definition
The kernel-doc script does not tolerate the macro definition in between. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/ethtool.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
index 79be416f03e6..24418ac78b77 100644
--- a/include/uapi/linux/ethtool.h
+++ b/include/uapi/linux/ethtool.h
@@ -920,9 +920,6 @@ struct ethtool_flash {
* for %ETHTOOL_GET_DUMP_FLAG command
* @data: data collected for get dump data operation
*/
-
-#define ETH_FW_DUMP_DISABLE 0
-
struct ethtool_dump {
__u32 cmd;
__u32 version;
@@ -931,6 +928,8 @@ struct ethtool_dump {
__u8 data[0];
};
+#define ETH_FW_DUMP_DISABLE 0
+
/* for returning and changing feature sets */
/**