Messages in this thread Patch in this message |  | | Date | Sun, 11 Feb 2001 02:12:33 +0100 (CET) | From | Lukasz Trabinski <> | Subject | 2.2.19pre9 & aic7xxx |
| |
Hello In linux/drivers/scsi/hosts.c we have line: #include "aic7xxx.h" and during compilation we gets a error:
hosts.c:139: aic7xxx.h: No such file or directory hosts.c:500: `AIC7XXX' undeclared here (not in a function) hosts.c:500: initializer element for `builtin_scsi_hosts[0]' is not constant make[3]: *** [hosts.o] Error 1 make[3]: Leaving directory `/usr/src/linux/drivers/scsi' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux/drivers/scsi' make[1]: *** [_subdir_scsi] Error 2 make[1]: Leaving directory `/usr/src/linux/drivers' make: *** [_dir_drivers] Error 2
and IMHO shuld be:
#include "aic7xxx/aic7xxx.h"
there is super little patch :-)
diff -ur linux.org/drivers/scsi/hosts.c linux/drivers/scsi/hosts.c --- linux.org/drivers/scsi/hosts.c Sun Feb 11 02:06:02 2001 +++ linux/drivers/scsi/hosts.c Sun Feb 11 02:08:05 2001 @@ -136,7 +136,7 @@ #endif
#ifdef CONFIG_SCSI_AIC7XXX -#include "aic7xxx.h" +#include "aic7xxx/aic7xxx.h" #endif
#ifdef CONFIG_SCSI_IPS
-- *[ Łukasz Trąbiński ]* SysAdmin @wsisiz.edu.pl
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |