aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-03-04 13:11:15 -0500
committerSimon Horman <horms+renesas@verge.net.au>2014-03-05 23:14:03 -0500
commit56ff873122c4baab43df241c7701d043b8ec8a8e (patch)
tree67cfdf549ee3a5fe51d466f168998b7ef39ef879
parentc4ca5d80e03559fd95c526ece5ce39fc732a2511 (diff)
ARM: shmobile: APMU: Fix warnings due to improper printk formats
Use the %pr printk specifier to print resource variables. This fixes warnings on platforms where resource_size_t has a different size than int. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/platsmp-apmu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/platsmp-apmu.c b/arch/arm/mach-shmobile/platsmp-apmu.c
index 1da5a72d9642..8cb641c00fdb 100644
--- a/arch/arm/mach-shmobile/platsmp-apmu.c
+++ b/arch/arm/mach-shmobile/platsmp-apmu.c
@@ -75,8 +75,7 @@ static void apmu_init_cpu(struct resource *res, int cpu, int bit)
75 apmu_cpus[cpu].iomem = ioremap_nocache(res->start, resource_size(res)); 75 apmu_cpus[cpu].iomem = ioremap_nocache(res->start, resource_size(res));
76 apmu_cpus[cpu].bit = bit; 76 apmu_cpus[cpu].bit = bit;
77 77
78 pr_debug("apmu ioremap %d %d 0x%08x 0x%08x\n", cpu, bit, 78 pr_debug("apmu ioremap %d %d %pr\n", cpu, bit, res);
79 res->start, resource_size(res));
80} 79}
81 80
82static struct { 81static struct {