aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/plat-s3c/pm-check.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/plat-s3c/pm-check.c b/arch/arm/plat-s3c/pm-check.c
index 95ba7693b5af..b221470e3bfc 100644
--- a/arch/arm/plat-s3c/pm-check.c
+++ b/arch/arm/plat-s3c/pm-check.c
@@ -55,7 +55,8 @@ static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg)
55 if ((ptr->flags & IORESOURCE_MEM) && 55 if ((ptr->flags & IORESOURCE_MEM) &&
56 strcmp(ptr->name, "System RAM") == 0) { 56 strcmp(ptr->name, "System RAM") == 0) {
57 S3C_PMDBG("Found system RAM at %08lx..%08lx\n", 57 S3C_PMDBG("Found system RAM at %08lx..%08lx\n",
58 ptr->start, ptr->end); 58 (unsigned long)ptr->start,
59 (unsigned long)ptr->end);
59 arg = (fn)(ptr, arg); 60 arg = (fn)(ptr, arg);
60 } 61 }
61 62
@@ -75,7 +76,8 @@ static u32 *s3c_pm_countram(struct resource *res, u32 *val)
75 size += CHECK_CHUNKSIZE-1; 76 size += CHECK_CHUNKSIZE-1;
76 size /= CHECK_CHUNKSIZE; 77 size /= CHECK_CHUNKSIZE;
77 78
78 S3C_PMDBG("Area %08lx..%08lx, %d blocks\n", res->start, res->end, size); 79 S3C_PMDBG("Area %08lx..%08lx, %d blocks\n",
80 (unsigned long)res->start, (unsigned long)res->end, size);
79 81
80 *val += size * sizeof(u32); 82 *val += size * sizeof(u32);
81 return val; 83 return val;