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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Salyzyn <Mark_Salyzyn@...>, James Bottomley <James.Bottomley@...>
Cc: <linux-scsi@...>, <linux-kernel@...>
Date: Monday, June 9, 2008 - 6:26 pm

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 <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

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

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] scsi/dpt_i2o.c: fix compilation on ia64, Adrian Bunk, (Mon Jun 9, 6:26 pm)