From: Andrew Morton In file included from drivers/scsi/aic94xx/aic94xx_hwi.c:32: include/scsi/sas/sas_task.h:188: error: field `timer' has incomplete type include/scsi/sas/sas_task.h: In function `sas_alloc_task': include/scsi/sas/sas_task.h:218: warning: implicit declaration of function `init_timer' In file included from include/linux/sched.h:108, from include/linux/smp_lock.h:6, from include/linux/hardirq.h:6, from include/linux/interrupt.h:11, from drivers/scsi/aic94xx/aic94xx_hwi.h:31, from drivers/scsi/aic94xx/aic94xx_reg.h:32, from drivers/scsi/aic94xx/aic94xx_hwi.c:35: include/linux/timer.h: At top level: include/linux/timer.h:34: warning: type mismatch with previous implicit declaration include/scsi/sas/sas_task.h:218: warning: previous implicit declaration of `init_timer' include/linux/timer.h:34: warning: `init_timer' was previously implicitly declared to return `int' Cc: Luben Tuikov Signed-off-by: Andrew Morton --- include/scsi/sas/sas_task.h | 1 + 1 files changed, 1 insertion(+) diff -puN include/scsi/sas/sas_task.h~sas_task-needs-timerh include/scsi/sas/sas_task.h --- 25-alpha/include/scsi/sas/sas_task.h~sas_task-needs-timerh 2005-11-10 16:03:35.000000000 -0800 +++ 25-alpha-akpm/include/scsi/sas/sas_task.h 2005-11-10 16:03:47.000000000 -0800 @@ -26,6 +26,7 @@ #ifndef _SAS_TASK_H_ #define _SAS_TASK_H_ +#include #include #include _