[87/90] SCSI: osd_protocol.h: Add missing #include

Greg KH
2009-12-11T04:42:01Z

[-- Attachment #1: scsi-osd_protocol.h-add-missing-include.patch --]
[-- Type: text/plain, Size: 883 bytes --]

2.6.31-stable review patch. If anyone has any objections, please let us know.

------------------
From: Martin Michlmayr <tbm@cyrius.com>

commit 0899638688f223fd9e9fee60d662665e11693d12 upstream.

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>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
include/scsi/osd_protocol.h | 1 +
1 file changed, 1 insertion(+)

--- 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>