aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index acf40dcbfb3..1c6d366f4fa 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -451,11 +451,9 @@ struct device_reg_2xxx {
} u_end;
};
-typedef struct {
- union {
+typedef union {
struct device_reg_2xxx isp;
struct device_reg_24xx isp24;
- };
} device_reg_t;
#define ISP_REQ_Q_IN(ha, reg) \