[PATCH] sata_fsl: build fix

Bartlomiej Zolnierkiewicz
2020-03-25T15:15:28Z

Fix incorrect DPRINTK() conversion in sata_fsl_init_controller()
(dev_dbg() should be used instead of ata_port_dbg()).

Fixes: b3f062310706 ("sata_fsl: move DPRINTK to ata debugging")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Reported-by: kbuild test robot <lkp@intel.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
drivers/ata/sata_fsl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/ata/sata_fsl.c
===================================================================
--- a/drivers/ata/sata_fsl.c
+++ b/drivers/ata/sata_fsl.c
@@ -1362,7 +1362,7 @@ static int sata_fsl_init_controller(stru
iowrite32((temp & ~0x3F), hcr_base + HCONTROL);

/* Disable interrupt coalescing control(icc), for the moment */
- ata_port_dbg(ap, "icc = 0x%x\n", ioread32(hcr_base + ICC));
+ dev_dbg(host->dev, "icc = 0x%x\n", ioread32(hcr_base + ICC));
iowrite32(0x01000000, hcr_base + ICC);

/* clear error registers, SError is cleared by libATA */