powerpc/85xx: sbc8560 - correct compilation if CONFIG_PHYS_ADDR_T_64BIT is set
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 19 Jul 2011 08:53:43 +0000 (12:53 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 7 Oct 2011 04:32:57 +0000 (23:32 -0500)
commitc72fa7df3758c047660e27c34dfd2f9a14181c53
treee3c7e93e0362036d0b975fc89b35c9138470df03
parent7680057cc4c7d9caada12767831bfd9738dd7b43
powerpc/85xx: sbc8560 - correct compilation if CONFIG_PHYS_ADDR_T_64BIT is set

If CONFIG_PHYS_ADDR_T_64BIT is set, compilation of sbc8560 fails with
the following error:

arch/powerpc/platforms/85xx/sbc8560.c: In function ‘sbc8560_bdrstcr_init’:
arch/powerpc/platforms/85xx/sbc8560.c:286: error: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘resource_size_t’

Fix that by using %pR format instead of just printing the start of
resource.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/sbc8560.c