spi: atmel: fix printk format warnings
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 21 Mar 2014 15:53:41 +0000 (08:53 -0700)
committerMark Brown <broonie@linaro.org>
Fri, 21 Mar 2014 17:29:12 +0000 (17:29 +0000)
commit54f4c51cc1634ab91074389dd6809af938a72778
tree51861b960736d2533ef80f7d771e16522acd2109
parent5bdfd491a01955727a6b2382534ec7760174863e
spi: atmel: fix printk format warnings

Fix printk format warning by using %p extension 'ad' for dma_addr_t.

drivers/spi/spi-atmel.c:1228:3: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t' [-Wformat]
drivers/spi/spi-atmel.c:1228:3: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'dma_addr_t' [-Wformat]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-atmel.c