diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-08-08 20:01:26 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-12 21:34:04 -0400 |
commit | ba0cef2532717354d90ea81dc47837d61c98defc (patch) | |
tree | 9484cf5efbffb2948d9d5285b0fac7ff47e2dc6a /drivers/scsi/qla2xxx/qla_dsd.h | |
parent | 0184793df2e860534380a66aa76b8807e71188c2 (diff) | |
download | lwn-ba0cef2532717354d90ea81dc47837d61c98defc.tar.gz lwn-ba0cef2532717354d90ea81dc47837d61c98defc.zip |
scsi: qla2xxx: Include the <asm/unaligned.h> header file from qla_dsd.h
Since the put_unaligned_*() macros are used in this header file, include
the header file that defines these macros.
Cc: Himanshu Madhani <hmadhani@marvell.com>
Fixes: 15b7a68c1d03 ("scsi: qla2xxx: Introduce the dsd32 and dsd64 data structures") # v5.2-rc1.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_dsd.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_dsd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dsd.h b/drivers/scsi/qla2xxx/qla_dsd.h index 7479924ba422..20788054b91b 100644 --- a/drivers/scsi/qla2xxx/qla_dsd.h +++ b/drivers/scsi/qla2xxx/qla_dsd.h @@ -1,6 +1,8 @@ #ifndef _QLA_DSD_H_ #define _QLA_DSD_H_ +#include <asm/unaligned.h> + /* 32-bit data segment descriptor (8 bytes) */ struct dsd32 { __le32 address; |