warning: drivers/mci/s3c.c:789:2: warning: incorrect type in argument 1 (different base types) drivers/mci/s3c.c:789:2: expected void const volatile [noderef] <asn:2>*<noident> drivers/mci/s3c.c:789:2: got int drivers/mci/s3c.c:789:2: warning: incorrect type in argument 1 (different base types) drivers/mci/s3c.c:789:2: expected void const volatile [noderef] <asn:2>*<noident> drivers/mci/s3c.c:789:2: got int Signed-off-by: Marek Belisko <marek.belisko@xxxxxxxxxxxxxxx> --- drivers/mci/s3c.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mci/s3c.c b/drivers/mci/s3c.c index b03d7d7..69573fb 100644 --- a/drivers/mci/s3c.c +++ b/drivers/mci/s3c.c @@ -786,8 +786,8 @@ static int s3c_mci_probe(struct device_d *hw_dev) struct s3c_mci_platform_data *pd = hw_dev->platform_data; /* TODO replace by the global func: enable the SDI unit clock */ - writel(readl(S3C24X0_CLOCK_POWER_BASE + 0x0c) | 0x200, - S3C24X0_CLOCK_POWER_BASE + 0x0c); + writel(readl(IOMEM(S3C24X0_CLOCK_POWER_BASE + 0x0c)) | 0x200, + IOMEM(S3C24X0_CLOCK_POWER_BASE + 0x0c)); if (pd == NULL) { pr_err("Missing platform data\n"); -- 1.7.4.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox