Commit d614f068 authored by Finn Thain's avatar Finn Thain Committed by Christoph Hellwig

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: default avatarFinn Thain <fthain@telegraphics.com.au>
Acked-by: default avatarSam Creasey <sammy@sammy.net>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 7ac44e06
...@@ -78,8 +78,6 @@ ...@@ -78,8 +78,6 @@
#include <scsi/scsi_host.h> #include <scsi/scsi_host.h>
#include "sun3_scsi.h" #include "sun3_scsi.h"
static void NCR5380_print(struct Scsi_Host *instance);
/* #define OLDDMA */ /* #define OLDDMA */
#define USE_WRAPPER #define USE_WRAPPER
...@@ -464,7 +462,7 @@ static unsigned long sun3scsi_dma_setup(void *data, unsigned long count, int wri ...@@ -464,7 +462,7 @@ static unsigned long sun3scsi_dma_setup(void *data, unsigned long count, int wri
printk("scsi%d: fifo_mismatch %04x not %04x\n", printk("scsi%d: fifo_mismatch %04x not %04x\n",
default_instance->host_no, dregs->fifo_count, default_instance->host_no, dregs->fifo_count,
(unsigned int) count); (unsigned int) count);
NCR5380_print(default_instance); NCR5380_dprint(NDEBUG_DMA, default_instance);
} }
/* setup udc */ /* setup udc */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment