diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-04-09 13:50:02 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-09 16:50:44 -0400 |
commit | daba96d6f38601552d08d52c15ef3c5660f1275f (patch) | |
tree | 1650be46c556967fd9081c09d22774132da67051 | |
parent | 066ec1dd44e84a911fe04556e4a9b89f1c83b0cb (diff) |
mfd: syscon: Fix warnings when printing resource_size_t
Gets rid of these warnings when compile module for 64 bit targets:
CC drivers/mfd/syscon.o
drivers/mfd/syscon.c: In function 'syscon_probe':
drivers/mfd/syscon.c:155:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'resource_size_t' [-Wformat]
drivers/mfd/syscon.c:155:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat]
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/syscon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index 7905d36d0517..962a6e17a01a 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c | |||
@@ -152,7 +152,7 @@ static int syscon_probe(struct platform_device *pdev) | |||
152 | 152 | ||
153 | platform_set_drvdata(pdev, syscon); | 153 | platform_set_drvdata(pdev, syscon); |
154 | 154 | ||
155 | dev_info(dev, "regmap 0x%x-0x%x registered\n", res->start, res->end); | 155 | dev_info(dev, "regmap %pR registered\n", res); |
156 | 156 | ||
157 | return 0; | 157 | return 0; |
158 | } | 158 | } |