diff options
-rw-r--r-- | drivers/mmc/at91_mci.c | 2 | ||||
-rw-r--r-- | drivers/mmc/au1xmmc.c | 2 | ||||
-rw-r--r-- | drivers/mmc/imxmmc.c | 2 | ||||
-rw-r--r-- | drivers/mmc/mmci.c | 2 | ||||
-rw-r--r-- | drivers/mmc/omap.c | 2 | ||||
-rw-r--r-- | drivers/mmc/pxamci.c | 2 | ||||
-rw-r--r-- | drivers/mmc/sdhci.c | 2 | ||||
-rw-r--r-- | drivers/mmc/wbsd.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mmc/at91_mci.c b/drivers/mmc/at91_mci.c index 494b23fb0a01..6495cd8a9306 100644 --- a/drivers/mmc/at91_mci.c +++ b/drivers/mmc/at91_mci.c | |||
@@ -793,7 +793,7 @@ int at91_mci_get_ro(struct mmc_host *mmc) | |||
793 | return read_only; | 793 | return read_only; |
794 | } | 794 | } |
795 | 795 | ||
796 | static struct mmc_host_ops at91_mci_ops = { | 796 | static const struct mmc_host_ops at91_mci_ops = { |
797 | .request = at91_mci_request, | 797 | .request = at91_mci_request, |
798 | .set_ios = at91_mci_set_ios, | 798 | .set_ios = at91_mci_set_ios, |
799 | .get_ro = at91_mci_get_ro, | 799 | .get_ro = at91_mci_get_ro, |
diff --git a/drivers/mmc/au1xmmc.c b/drivers/mmc/au1xmmc.c index 53ffcbb14a97..447fba5825fd 100644 --- a/drivers/mmc/au1xmmc.c +++ b/drivers/mmc/au1xmmc.c | |||
@@ -875,7 +875,7 @@ static void au1xmmc_init_dma(struct au1xmmc_host *host) | |||
875 | host->rx_chan = rxchan; | 875 | host->rx_chan = rxchan; |
876 | } | 876 | } |
877 | 877 | ||
878 | struct mmc_host_ops au1xmmc_ops = { | 878 | struct const mmc_host_ops au1xmmc_ops = { |
879 | .request = au1xmmc_request, | 879 | .request = au1xmmc_request, |
880 | .set_ios = au1xmmc_set_ios, | 880 | .set_ios = au1xmmc_set_ios, |
881 | }; | 881 | }; |
diff --git a/drivers/mmc/imxmmc.c b/drivers/mmc/imxmmc.c index 659d4a822cc5..06e7fcd19221 100644 --- a/drivers/mmc/imxmmc.c +++ b/drivers/mmc/imxmmc.c | |||
@@ -877,7 +877,7 @@ static void imxmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) | |||
877 | } | 877 | } |
878 | } | 878 | } |
879 | 879 | ||
880 | static struct mmc_host_ops imxmci_ops = { | 880 | static const struct mmc_host_ops imxmci_ops = { |
881 | .request = imxmci_request, | 881 | .request = imxmci_request, |
882 | .set_ios = imxmci_set_ios, | 882 | .set_ios = imxmci_set_ios, |
883 | }; | 883 | }; |
diff --git a/drivers/mmc/mmci.c b/drivers/mmc/mmci.c index 828503c4ee62..e9b80e920266 100644 --- a/drivers/mmc/mmci.c +++ b/drivers/mmc/mmci.c | |||
@@ -443,7 +443,7 @@ static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) | |||
443 | } | 443 | } |
444 | } | 444 | } |
445 | 445 | ||
446 | static struct mmc_host_ops mmci_ops = { | 446 | static const struct mmc_host_ops mmci_ops = { |
447 | .request = mmci_request, | 447 | .request = mmci_request, |
448 | .set_ios = mmci_set_ios, | 448 | .set_ios = mmci_set_ios, |
449 | }; | 449 | }; |
diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c index 762fa2895891..895d4879027d 100644 --- a/drivers/mmc/omap.c +++ b/drivers/mmc/omap.c | |||
@@ -960,7 +960,7 @@ static int mmc_omap_get_ro(struct mmc_host *mmc) | |||
960 | return host->wp_pin && omap_get_gpio_datain(host->wp_pin); | 960 | return host->wp_pin && omap_get_gpio_datain(host->wp_pin); |
961 | } | 961 | } |
962 | 962 | ||
963 | static struct mmc_host_ops mmc_omap_ops = { | 963 | static const struct mmc_host_ops mmc_omap_ops = { |
964 | .request = mmc_omap_request, | 964 | .request = mmc_omap_request, |
965 | .set_ios = mmc_omap_set_ios, | 965 | .set_ios = mmc_omap_set_ios, |
966 | .get_ro = mmc_omap_get_ro, | 966 | .get_ro = mmc_omap_get_ro, |
diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c index a526698b8c91..471e9f4e0530 100644 --- a/drivers/mmc/pxamci.c +++ b/drivers/mmc/pxamci.c | |||
@@ -393,7 +393,7 @@ static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) | |||
393 | host->clkrt, host->cmdat); | 393 | host->clkrt, host->cmdat); |
394 | } | 394 | } |
395 | 395 | ||
396 | static struct mmc_host_ops pxamci_ops = { | 396 | static const struct mmc_host_ops pxamci_ops = { |
397 | .request = pxamci_request, | 397 | .request = pxamci_request, |
398 | .get_ro = pxamci_get_ro, | 398 | .get_ro = pxamci_get_ro, |
399 | .set_ios = pxamci_set_ios, | 399 | .set_ios = pxamci_set_ios, |
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 9a7d39b7cdbf..54990ed26770 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c | |||
@@ -784,7 +784,7 @@ static int sdhci_get_ro(struct mmc_host *mmc) | |||
784 | return !(present & SDHCI_WRITE_PROTECT); | 784 | return !(present & SDHCI_WRITE_PROTECT); |
785 | } | 785 | } |
786 | 786 | ||
787 | static struct mmc_host_ops sdhci_ops = { | 787 | static const struct mmc_host_ops sdhci_ops = { |
788 | .request = sdhci_request, | 788 | .request = sdhci_request, |
789 | .set_ios = sdhci_set_ios, | 789 | .set_ios = sdhci_set_ios, |
790 | .get_ro = sdhci_get_ro, | 790 | .get_ro = sdhci_get_ro, |
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c index ced309b37a8f..7e040eb18ff2 100644 --- a/drivers/mmc/wbsd.c +++ b/drivers/mmc/wbsd.c | |||
@@ -1021,7 +1021,7 @@ static int wbsd_get_ro(struct mmc_host *mmc) | |||
1021 | return csr & WBSD_WRPT; | 1021 | return csr & WBSD_WRPT; |
1022 | } | 1022 | } |
1023 | 1023 | ||
1024 | static struct mmc_host_ops wbsd_ops = { | 1024 | static const struct mmc_host_ops wbsd_ops = { |
1025 | .request = wbsd_request, | 1025 | .request = wbsd_request, |
1026 | .set_ios = wbsd_set_ios, | 1026 | .set_ios = wbsd_set_ios, |
1027 | .get_ro = wbsd_get_ro, | 1027 | .get_ro = wbsd_get_ro, |