summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>2019-04-16 10:34:59 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-05-30 10:45:02 -0700
commit49c6e41b0d1fa9d14b1c20c71eb85f8f1dd12518 (patch)
tree7faa6928451d0c7b6d7400ffeb21212138367b65 /drivers/net
parent62f4dafc182f34c0e889aeab543ecacc47582c1a (diff)
downloadlinux-stable-49c6e41b0d1fa9d14b1c20c71eb85f8f1dd12518.tar.gz
linux-stable-49c6e41b0d1fa9d14b1c20c71eb85f8f1dd12518.tar.bz2
linux-stable-49c6e41b0d1fa9d14b1c20c71eb85f8f1dd12518.zip
ice: Move define for ICE_AQC_DRIVER_UNLOADING
The define describing the bits for the struct field should be below the field itself. Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_adminq_cmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h b/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
index b1efe55e4d7e..7a9da5320e96 100644
--- a/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
+++ b/drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
@@ -35,8 +35,8 @@ struct ice_aqc_get_ver {
/* Queue Shutdown (direct 0x0003) */
struct ice_aqc_q_shutdown {
-#define ICE_AQC_DRIVER_UNLOADING BIT(0)
__le32 driver_unloading;
+#define ICE_AQC_DRIVER_UNLOADING BIT(0)
u8 reserved[12];
};