]> err.no Git - linux-2.6/commitdiff
[SCSI] qla2xxx: fix msleep compile error
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 28 Jul 2008 02:59:20 +0000 (11:59 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 28 Jul 2008 15:13:22 +0000 (10:13 -0500)
drivers/scsi/qla2xxx/qla_attr.c: In function 'qla24xx_vport_delete':
drivers/scsi/qla2xxx/qla_attr.c:1184: error: implicit declaration of function 'msleep'
make[3]: *** [drivers/scsi/qla2xxx/qla_attr.o] Error 1
make[3]: *** Waiting for unfinished jobs....

Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_attr.c

index 7a4409ab30eaaab0b751226f4e0713b5469166d5..a319a20ed440748da301b5a268941d5e57d00294 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <linux/kthread.h>
 #include <linux/vmalloc.h>
+#include <linux/delay.h>
 
 static int qla24xx_vport_disable(struct fc_vport *, bool);