mirror of https://gitee.com/openkylin/linux.git
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: 15b7a68c1d
("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>
This commit is contained in:
parent
0184793df2
commit
ba0cef2532
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue