spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 30 Sep 2013 18:52:59 +0000 (14:52 -0400)
committerMark Brown <broonie@linaro.org>
Sun, 24 Nov 2013 14:05:40 +0000 (14:05 +0000)
commita4ee96e4886768a177e4dc4935ac676513913581
tree2b5deb1c5c4055fdab7880ac770e42198a42c372
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi: davinci: Fix the build warning with CONFIG_ARM_LPAE=y

With CONFIG_ARM_LPAE=y spi driver throws below warning

drivers/spi/spi-davinci.c: In function ‘davinci_spi_probe’:
drivers/spi/spi-davinci.c:965:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘resource_size_t’ [-Wformat]
drivers/spi/spi-davinci.c:965:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘resource_size_t’ [-Wformat]

Lets use '%pa' to properly print 'resource_size_t' type variables.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-davinci.c