浏览代码

[SCSI] osd_protocol.h: Add missing #include

include/scsi/osd_protocol.h uses ALIGN() without an #include
<linux/kernel.h>, leading to:
| include/scsi/osd_protocol.h:362: error: implicit declaration of function 'ALIGN'

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Martin Michlmayr 15 年之前
父节点
当前提交
0899638688
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/scsi/osd_protocol.h

+ 1 - 0
include/scsi/osd_protocol.h

@@ -17,6 +17,7 @@
 #define __OSD_PROTOCOL_H__
 
 #include <linux/types.h>
+#include <linux/kernel.h>
 #include <asm/unaligned.h>
 #include <scsi/scsi.h>