2008-06-09 22:30:18

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] scsi/dpt_i2o.c: fix compilation on ia64

This patch fixes the following compile error:

<-- snip -->

...
CC drivers/scsi/dpt_i2o.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/scsi/dpt_i2o.c:83: error: 'PROC_IA64' undeclared here (not in a function)
make[3]: *** [drivers/scsi/dpt_i2o.o] Error 1

<-- snip -->

Reported-by: Adrian Bunk <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>

---
631dedfbf9e2a9720dd6ecd382c0568372c3e436 diff --git a/drivers/scsi/dpt/dptsig.h b/drivers/scsi/dpt/dptsig.h
index 72c8992..01cd528 100644
--- a/drivers/scsi/dpt/dptsig.h
+++ b/drivers/scsi/dpt/dptsig.h
@@ -92,6 +92,7 @@ typedef unsigned int sigINT;
#define PROC_POWERPC 0x04 /* IBM Power PC */
#define PROC_i960 0x05 /* Intel i960 */
#define PROC_ULTRASPARC 0x06 /* SPARC processor */
+#define PROC_IA64 0x07 /* ia64 processor */

/* Specific Minimim Processor - sigBYTE dsProcessor; FLAG BITS */
/* ------------------------------------------------------------------ */