mmc: constify mmc_host_ops vectors
[firefly-linux-kernel-4.4.55.git] / drivers / mmc / omap.c
index 762fa28958918fbd21770a574f035a725bb14bd5..895d4879027dd5275462e8a3aaf99335df3c3628 100644 (file)
@@ -960,7 +960,7 @@ static int mmc_omap_get_ro(struct mmc_host *mmc)
        return host->wp_pin && omap_get_gpio_datain(host->wp_pin);
 }
 
-static struct mmc_host_ops mmc_omap_ops = {
+static const struct mmc_host_ops mmc_omap_ops = {
        .request        = mmc_omap_request,
        .set_ios        = mmc_omap_set_ios,
        .get_ro         = mmc_omap_get_ro,