aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-07-15 19:53:33 -0400
committerMark Brown <broonie@linaro.org>2013-07-24 10:32:35 -0400
commitc65bc4a8df3cd806e1868992bbc818b1267072d5 (patch)
tree34b84557455f57a074e24a8f369ae0d20a7b78f0 /drivers/spi
parentdb0606ecd635de0522191e0200868a92ffc18b4d (diff)
spi: s3c64xx: fix printk warnings
Fix the following build warnings when LPAE is enabled: drivers/spi/spi-s3c64xx.c:1466:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat] drivers/spi/spi-s3c64xx.c:1466:2: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t' [-Wformat] Use vsprintf extension %pR to format resource. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-s3c64xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 61cffaff78fc..702a5362aaac 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -1443,8 +1443,8 @@ static int s3c64xx_spi_probe(struct platform_device *pdev)
1443 1443
1444 dev_dbg(&pdev->dev, "Samsung SoC SPI Driver loaded for Bus SPI-%d with %d Slaves attached\n", 1444 dev_dbg(&pdev->dev, "Samsung SoC SPI Driver loaded for Bus SPI-%d with %d Slaves attached\n",
1445 sdd->port_id, master->num_chipselect); 1445 sdd->port_id, master->num_chipselect);
1446 dev_dbg(&pdev->dev, "\tIOmem=[0x%x-0x%x]\tDMA=[Rx-%d, Tx-%d]\n", 1446 dev_dbg(&pdev->dev, "\tIOmem=[%pR]\tDMA=[Rx-%d, Tx-%d]\n",
1447 mem_res->end, mem_res->start, 1447 mem_res,
1448 sdd->rx_dma.dmach, sdd->tx_dma.dmach); 1448 sdd->rx_dma.dmach, sdd->tx_dma.dmach);
1449 1449
1450 pm_runtime_enable(&pdev->dev); 1450 pm_runtime_enable(&pdev->dev);