[PATCH] sata_fsl: fixup compilation errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixup compilation errors introduced by the libata DPRINTK rewrite.

Fixes: d9cbc6ab0938 ("sata_fsl: move DPRINTK to ata debugging")
Signed-off-by: Hannes Reinecke <hare@xxxxxxx>
---
 drivers/ata/sata_fsl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c
index 730f6701052c..45c15c4e9f8a 100644
--- a/drivers/ata/sata_fsl.c
+++ b/drivers/ata/sata_fsl.c
@@ -315,7 +315,7 @@ static void fsl_sata_set_irq_coalescing(struct ata_host *host,
 		"%s: interrupt coalescing, count = 0x%x, ticks = %x\n",
 		__func__, intr_coalescing_count, intr_coalescing_ticks);
 	dev_dbg(host->dev,
-		"%s: ICC register status: (hcr base: 0x%x) = 0x%x\n",
+		"%s: ICC register status: (hcr base: 0x%p) = 0x%x\n",
 		__func__, hcr_base, ioread32(hcr_base + ICC));
 }
 
@@ -1381,7 +1381,7 @@ static int sata_fsl_init_controller(struct ata_host *host)
 	 * callback, that should also initiate the OOB, COMINIT sequence
 	 */
 
-	ata_port_dbg(ap, "HStatus = 0x%x HControl = 0x%x\n",
+	dev_dbg(host->dev, "HStatus = 0x%x HControl = 0x%x\n",
 		     ioread32(hcr_base + HSTATUS),
 		     ioread32(hcr_base + HCONTROL));
 
@@ -1462,7 +1462,7 @@ static int sata_fsl_probe(struct platform_device *ofdev)
 		iowrite32(temp | TRANSCFG_RX_WATER_MARK, csr_base + TRANSCFG);
 	}
 
-	ata_port_dbg(ap, "@reset i/o = 0x%x\n", ioread32(csr_base + TRANSCFG));
+	dev_dbg(&ofdev->dev, "@reset i/o = 0x%x\n", ioread32(csr_base + TRANSCFG));
 
 	host_priv = kzalloc(sizeof(struct sata_fsl_host_priv), GFP_KERNEL);
 	if (!host_priv)
-- 
2.16.4




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux