aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r--drivers/scsi/ipr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h
index 4d31625ab9cf..16bc77a2be36 100644
--- a/drivers/scsi/ipr.h
+++ b/drivers/scsi/ipr.h
@@ -26,6 +26,7 @@
26#ifndef _IPR_H 26#ifndef _IPR_H
27#define _IPR_H 27#define _IPR_H
28 28
29#include <asm/unaligned.h>
29#include <linux/types.h> 30#include <linux/types.h>
30#include <linux/completion.h> 31#include <linux/completion.h>
31#include <linux/libata.h> 32#include <linux/libata.h>
@@ -372,7 +373,7 @@ struct ipr_config_table_entry {
372 373
373 struct ipr_res_addr res_addr; 374 struct ipr_res_addr res_addr;
374 __be32 res_handle; 375 __be32 res_handle;
375 __be32 reserved4[2]; 376 __be32 lun_wwn[2];
376 struct ipr_std_inq_data std_inq_data; 377 struct ipr_std_inq_data std_inq_data;
377}__attribute__ ((packed, aligned (4))); 378}__attribute__ ((packed, aligned (4)));
378 379
@@ -1210,6 +1211,7 @@ struct ipr_resource_entry {
1210 1211
1211 __be32 res_handle; 1212 __be32 res_handle;
1212 __be64 dev_id; 1213 __be64 dev_id;
1214 __be64 lun_wwn;
1213 struct scsi_lun dev_lun; 1215 struct scsi_lun dev_lun;
1214 u8 res_path[8]; 1216 u8 res_path[8];
1215 1217