]> Pileus Git - ~andy/linux/blobdiff - drivers/mmc/host/omap_hsmmc.c
mmc/omap_hsmmc: add a const qualifier
[~andy/linux] / drivers / mmc / host / omap_hsmmc.c
index 3a09f93cc3b6f846a2b4cd327a7fd2a4524e31bc..e975d3ecccc7f94e06423007b28e8dc31f02ef76 100644 (file)
@@ -1782,7 +1782,7 @@ static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
        if (match) {
                pdata = of_get_hsmmc_pdata(&pdev->dev);
                if (match->data) {
-                       u16 *offsetp = match->data;
+                       const u16 *offsetp = match->data;
                        pdata->reg_offset = *offsetp;
                }
        }