aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice
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/ethernet/intel/ice
parentice: Align to updated AQ command formats (diff)
downloadlinux-dev-49c6e41b0d1fa9d14b1c20c71eb85f8f1dd12518.tar.xz
linux-dev-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/ethernet/intel/ice')
-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];
};