diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-01-08 20:09:17 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-09 08:25:38 +0100 |
commit | d79673c5766f29a96cc19218987f61e01c150b43 (patch) | |
tree | b6105308db0807f83c558b2c07fdae9ae6531b33 /drivers/mfd | |
parent | f91a993e39f43bf78e9723cec207fd03cf4867d9 (diff) | |
download | barebox-d79673c5766f29a96cc19218987f61e01c150b43.tar.gz barebox-d79673c5766f29a96cc19218987f61e01c150b43.tar.xz |
mfd: syscon: Switch to using %pa to print memory addresses
Switch to using %pa to print memory addresses in order to be able to
support both 64 and 32 bit builds.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mfd')
-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 957d9a7267..30ed65f737 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c @@ -176,7 +176,7 @@ static int syscon_probe(struct device_d *dev) syscon->base = IOMEM(res->start); dev->priv = syscon; - dev_dbg(dev, "map 0x%x-0x%x registered\n", res->start, res->end); + dev_dbg(dev, "map %pa-%pa registered\n", &res->start, &res->end); return 0; } |