diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-03-17 20:42:16 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-28 06:05:37 -0400 |
commit | d614f06832870a4b500c3122e4f24a665ece190d (patch) | |
tree | 1c7c8b24dddcf72cc72c30937d0b581657823b8e /drivers/scsi | |
parent | 7ac44e061b2eb7871f55f64fe794d221394d126f (diff) |
scsi/NCR5380: use NCR5380_dprint() instead of NCR5380_print()
Only the NCR5380_dprint() macro should invoke the NCR5380_print() function.
That's why NCR5380.c only defines the function #if NDEBUG. Use the standard
macro.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Sam Creasey <sammy@sammy.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/sun3_scsi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c index ab722a1c62db..020d38aed4f5 100644 --- a/drivers/scsi/sun3_scsi.c +++ b/drivers/scsi/sun3_scsi.c | |||
@@ -78,8 +78,6 @@ | |||
78 | #include <scsi/scsi_host.h> | 78 | #include <scsi/scsi_host.h> |
79 | #include "sun3_scsi.h" | 79 | #include "sun3_scsi.h" |
80 | 80 | ||
81 | static void NCR5380_print(struct Scsi_Host *instance); | ||
82 | |||
83 | /* #define OLDDMA */ | 81 | /* #define OLDDMA */ |
84 | 82 | ||
85 | #define USE_WRAPPER | 83 | #define USE_WRAPPER |
@@ -464,7 +462,7 @@ static unsigned long sun3scsi_dma_setup(void *data, unsigned long count, int wri | |||
464 | printk("scsi%d: fifo_mismatch %04x not %04x\n", | 462 | printk("scsi%d: fifo_mismatch %04x not %04x\n", |
465 | default_instance->host_no, dregs->fifo_count, | 463 | default_instance->host_no, dregs->fifo_count, |
466 | (unsigned int) count); | 464 | (unsigned int) count); |
467 | NCR5380_print(default_instance); | 465 | NCR5380_dprint(NDEBUG_DMA, default_instance); |
468 | } | 466 | } |
469 | 467 | ||
470 | /* setup udc */ | 468 | /* setup udc */ |