]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ethtool: Move kernel-doc comment next to struct ethtool_dump definition
authorBen Hutchings <ben@decadent.org.uk>
Wed, 12 Feb 2014 22:14:59 +0000 (22:14 +0000)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:16 +0000 (21:18 -0600)
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>
include/uapi/linux/ethtool.h

index 79be416f03e63f7ba214f381cc355ef95c9cde4b..24418ac78b77bee0728d6b73c69a6ca87752c3fc 100644 (file)
@@ -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 */
 
 /**