From: John Jacques <[email protected]>

Signed-off-by: John Jacques <[email protected]>
---
 drivers/spi/spi-pl022.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index 36a33f6..b772c862 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -2219,8 +2219,8 @@ static int pl022_probe(struct amba_device *adev, const 
struct amba_id *id)
                status = -ENOMEM;
                goto err_no_ioremap;
        }
-       pr_info("pl022: mapped registers from 0x%08x to %p\n",
-                       adev->res.start, pl022->virtbase);
+       pr_info("pl022: mapped registers from 0x%08lx to %p\n",
+               (unsigned long)adev->res.start, pl022->virtbase);
 
        pl022->clk = devm_clk_get(&adev->dev, NULL);
        if (IS_ERR(pl022->clk)) {
-- 
1.8.1.4

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to