All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix sun_esp.c compile
@ 2007-05-07  2:20 Robert Reif
  2007-05-07  4:58 ` David Miller
  2007-05-07 13:06 ` Martin Habets
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Reif @ 2007-05-07  2:20 UTC (permalink / raw)
  To: sparclinux

Fix a sparc32 compile problem in latest git.

drivers/scsi/sun_esp.c: In function 'sbus_esp_reset_dma':
drivers/scsi/sun_esp.c:294: error: 'loops_per_jiffy' undeclared (first 
use in this function)
drivers/scsi/sun_esp.c:294: error: (Each undeclared identifier is 
reported only once
drivers/scsi/sun_esp.c:294: error: for each function it appears in.)
drivers/scsi/sun_esp.c: In function 'sbus_esp_dma_drain':
drivers/scsi/sun_esp.c:364: error: 'loops_per_jiffy' undeclared (first 
use in this function)
drivers/scsi/sun_esp.c: In function 'sbus_esp_dma_invalidate':
drivers/scsi/sun_esp.c:396: error: 'loops_per_jiffy' undeclared (first 
use in this function)

Signed-off-by: Robert Reif <reif@earthlink.net>

diff --git a/drivers/scsi/sun_esp.c b/drivers/scsi/sun_esp.c
index 8c766bc..85b76f2 100644
--- a/drivers/scsi/sun_esp.c
+++ b/drivers/scsi/sun_esp.c
@@ -7,6 +7,7 @@ #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/module.h>
 #include <linux/init.h>
+#include <linux/delay.h>
                                                                                

 #include <asm/irq.h>
 #include <asm/io.h>



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-07 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-07  2:20 [PATCH] fix sun_esp.c compile Robert Reif
2007-05-07  4:58 ` David Miller
2007-05-07 13:06 ` Martin Habets

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.