All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Reif <reif@earthlink.net>
To: sparclinux@vger.kernel.org
Subject: [PATCH] fix sun_esp.c compile
Date: Mon, 07 May 2007 02:20:47 +0000	[thread overview]
Message-ID: <463E8CFF.7040103@earthlink.net> (raw)

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>



             reply	other threads:[~2007-05-07  2:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07  2:20 Robert Reif [this message]
2007-05-07  4:58 ` [PATCH] fix sun_esp.c compile David Miller
2007-05-07 13:06 ` Martin Habets

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=463E8CFF.7040103@earthlink.net \
    --to=reif@earthlink.net \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.