summaryrefslogtreecommitdiffstats
path: root/include/scsi/osd_protocol.h
diff options
context:
space:
mode:
authorMartin Michlmayr2009-11-16 19:49:25 +0100
committerJames Bottomley2009-12-04 19:01:48 +0100
commit0899638688f223fd9e9fee60d662665e11693d12 (patch)
tree36c992ae555edcbcc9891956883e81527815dbaf /include/scsi/osd_protocol.h
parent[SCSI] libosd: Error handling revamped (diff)
downloadkernel-qcow2-linux-0899638688f223fd9e9fee60d662665e11693d12.tar.gz
kernel-qcow2-linux-0899638688f223fd9e9fee60d662665e11693d12.tar.xz
kernel-qcow2-linux-0899638688f223fd9e9fee60d662665e11693d12.zip
[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>
Diffstat (limited to 'include/scsi/osd_protocol.h')
-rw-r--r--include/scsi/osd_protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/osd_protocol.h b/include/scsi/osd_protocol.h
index 2cc8e8b1cc19..685661283540 100644
--- a/include/scsi/osd_protocol.h
+++ b/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>