diff options
Diffstat (limited to 'drivers/scsi/sata_mv.c')
-rw-r--r-- | drivers/scsi/sata_mv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c index 84b488f81c75..d457f5673476 100644 --- a/drivers/scsi/sata_mv.c +++ b/drivers/scsi/sata_mv.c | |||
@@ -467,9 +467,9 @@ static void mv_stop_dma(struct ata_port *ap) | |||
467 | } | 467 | } |
468 | } | 468 | } |
469 | 469 | ||
470 | #ifdef ATA_DEBUG | ||
470 | static void mv_dump_mem(void __iomem *start, unsigned bytes) | 471 | static void mv_dump_mem(void __iomem *start, unsigned bytes) |
471 | { | 472 | { |
472 | #ifdef ATA_DEBUG | ||
473 | int b, w; | 473 | int b, w; |
474 | for (b = 0; b < bytes; ) { | 474 | for (b = 0; b < bytes; ) { |
475 | DPRINTK("%p: ", start + b); | 475 | DPRINTK("%p: ", start + b); |
@@ -479,8 +479,9 @@ static void mv_dump_mem(void __iomem *start, unsigned bytes) | |||
479 | } | 479 | } |
480 | printk("\n"); | 480 | printk("\n"); |
481 | } | 481 | } |
482 | #endif | ||
483 | } | 482 | } |
483 | #endif | ||
484 | |||
484 | static void mv_dump_pci_cfg(struct pci_dev *pdev, unsigned bytes) | 485 | static void mv_dump_pci_cfg(struct pci_dev *pdev, unsigned bytes) |
485 | { | 486 | { |
486 | #ifdef ATA_DEBUG | 487 | #ifdef ATA_DEBUG |