diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mmc/host/sdhci-bcm2835.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-cns3xxx.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-dove.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-of-esdhc.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-of-hlwd.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-pltfm.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-pxav2.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-pxav3.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-spear.c | 2 | ||||
| -rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 2 |
12 files changed, 12 insertions, 12 deletions
diff --git a/drivers/mmc/host/sdhci-bcm2835.c b/drivers/mmc/host/sdhci-bcm2835.c index 29e9e4008885..d49bc958c8ba 100644 --- a/drivers/mmc/host/sdhci-bcm2835.c +++ b/drivers/mmc/host/sdhci-bcm2835.c | |||
| @@ -124,7 +124,7 @@ unsigned int bcm2835_sdhci_get_min_clock(struct sdhci_host *host) | |||
| 124 | return MIN_FREQ; | 124 | return MIN_FREQ; |
| 125 | } | 125 | } |
| 126 | 126 | ||
| 127 | static struct sdhci_ops bcm2835_sdhci_ops = { | 127 | static const struct sdhci_ops bcm2835_sdhci_ops = { |
| 128 | .write_l = bcm2835_sdhci_writel, | 128 | .write_l = bcm2835_sdhci_writel, |
| 129 | .write_w = bcm2835_sdhci_writew, | 129 | .write_w = bcm2835_sdhci_writew, |
| 130 | .write_b = bcm2835_sdhci_writeb, | 130 | .write_b = bcm2835_sdhci_writeb, |
diff --git a/drivers/mmc/host/sdhci-cns3xxx.c b/drivers/mmc/host/sdhci-cns3xxx.c index 15a936ae08b8..4fa26ded5893 100644 --- a/drivers/mmc/host/sdhci-cns3xxx.c +++ b/drivers/mmc/host/sdhci-cns3xxx.c | |||
| @@ -80,7 +80,7 @@ out: | |||
| 80 | host->clock = clock; | 80 | host->clock = clock; |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | static struct sdhci_ops sdhci_cns3xxx_ops = { | 83 | static const struct sdhci_ops sdhci_cns3xxx_ops = { |
| 84 | .get_max_clock = sdhci_cns3xxx_get_max_clk, | 84 | .get_max_clock = sdhci_cns3xxx_get_max_clk, |
| 85 | .set_clock = sdhci_cns3xxx_set_clock, | 85 | .set_clock = sdhci_cns3xxx_set_clock, |
| 86 | }; | 86 | }; |
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c index b514f68d6f1b..15e7803040f1 100644 --- a/drivers/mmc/host/sdhci-dove.c +++ b/drivers/mmc/host/sdhci-dove.c | |||
| @@ -83,7 +83,7 @@ static u32 sdhci_dove_readl(struct sdhci_host *host, int reg) | |||
| 83 | return ret; | 83 | return ret; |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | static struct sdhci_ops sdhci_dove_ops = { | 86 | static const struct sdhci_ops sdhci_dove_ops = { |
| 87 | .read_w = sdhci_dove_readw, | 87 | .read_w = sdhci_dove_readw, |
| 88 | .read_l = sdhci_dove_readl, | 88 | .read_l = sdhci_dove_readl, |
| 89 | }; | 89 | }; |
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 68c301d12db4..67d6dde2ff19 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c | |||
| @@ -399,7 +399,7 @@ static int esdhc_pltfm_bus_width(struct sdhci_host *host, int width) | |||
| 399 | return 0; | 399 | return 0; |
| 400 | } | 400 | } |
| 401 | 401 | ||
| 402 | static struct sdhci_ops sdhci_esdhc_ops = { | 402 | static const struct sdhci_ops sdhci_esdhc_ops = { |
| 403 | .read_l = esdhc_readl_le, | 403 | .read_l = esdhc_readl_le, |
| 404 | .read_w = esdhc_readw_le, | 404 | .read_w = esdhc_readw_le, |
| 405 | .write_l = esdhc_writel_le, | 405 | .write_l = esdhc_writel_le, |
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c index b98b91969d8b..5e68adc2461e 100644 --- a/drivers/mmc/host/sdhci-of-esdhc.c +++ b/drivers/mmc/host/sdhci-of-esdhc.c | |||
| @@ -230,7 +230,7 @@ static void esdhc_of_platform_init(struct sdhci_host *host) | |||
| 230 | host->quirks &= ~SDHCI_QUIRK_NO_BUSY_IRQ; | 230 | host->quirks &= ~SDHCI_QUIRK_NO_BUSY_IRQ; |
| 231 | } | 231 | } |
| 232 | 232 | ||
| 233 | static struct sdhci_ops sdhci_esdhc_ops = { | 233 | static const struct sdhci_ops sdhci_esdhc_ops = { |
| 234 | .read_l = esdhc_readl, | 234 | .read_l = esdhc_readl, |
| 235 | .read_w = esdhc_readw, | 235 | .read_w = esdhc_readw, |
| 236 | .read_b = esdhc_readb, | 236 | .read_b = esdhc_readb, |
diff --git a/drivers/mmc/host/sdhci-of-hlwd.c b/drivers/mmc/host/sdhci-of-hlwd.c index 7ea5c02268df..200a6a9fa805 100644 --- a/drivers/mmc/host/sdhci-of-hlwd.c +++ b/drivers/mmc/host/sdhci-of-hlwd.c | |||
| @@ -51,7 +51,7 @@ static void sdhci_hlwd_writeb(struct sdhci_host *host, u8 val, int reg) | |||
| 51 | udelay(SDHCI_HLWD_WRITE_DELAY); | 51 | udelay(SDHCI_HLWD_WRITE_DELAY); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | static struct sdhci_ops sdhci_hlwd_ops = { | 54 | static const struct sdhci_ops sdhci_hlwd_ops = { |
| 55 | .read_l = sdhci_be32bs_readl, | 55 | .read_l = sdhci_be32bs_readl, |
| 56 | .read_w = sdhci_be32bs_readw, | 56 | .read_w = sdhci_be32bs_readw, |
| 57 | .read_b = sdhci_be32bs_readb, | 57 | .read_b = sdhci_be32bs_readb, |
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 3dee22d098e9..c1f037266bdf 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
| @@ -975,7 +975,7 @@ static void sdhci_pci_hw_reset(struct sdhci_host *host) | |||
| 975 | usleep_range(300, 1000); | 975 | usleep_range(300, 1000); |
| 976 | } | 976 | } |
| 977 | 977 | ||
| 978 | static struct sdhci_ops sdhci_pci_ops = { | 978 | static const struct sdhci_ops sdhci_pci_ops = { |
| 979 | .enable_dma = sdhci_pci_enable_dma, | 979 | .enable_dma = sdhci_pci_enable_dma, |
| 980 | .platform_bus_width = sdhci_pci_bus_width, | 980 | .platform_bus_width = sdhci_pci_bus_width, |
| 981 | .hw_reset = sdhci_pci_hw_reset, | 981 | .hw_reset = sdhci_pci_hw_reset, |
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c index 3893fd6ae56e..cd0f1f68e261 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c | |||
| @@ -44,7 +44,7 @@ unsigned int sdhci_pltfm_clk_get_max_clock(struct sdhci_host *host) | |||
| 44 | } | 44 | } |
| 45 | EXPORT_SYMBOL_GPL(sdhci_pltfm_clk_get_max_clock); | 45 | EXPORT_SYMBOL_GPL(sdhci_pltfm_clk_get_max_clock); |
| 46 | 46 | ||
| 47 | static struct sdhci_ops sdhci_pltfm_ops = { | 47 | static const struct sdhci_ops sdhci_pltfm_ops = { |
| 48 | }; | 48 | }; |
| 49 | 49 | ||
| 50 | #ifdef CONFIG_OF | 50 | #ifdef CONFIG_OF |
diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c index eeb7d439db1d..6a3f702a38a6 100644 --- a/drivers/mmc/host/sdhci-pxav2.c +++ b/drivers/mmc/host/sdhci-pxav2.c | |||
| @@ -111,7 +111,7 @@ static int pxav2_mmc_set_width(struct sdhci_host *host, int width) | |||
| 111 | return 0; | 111 | return 0; |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | static struct sdhci_ops pxav2_sdhci_ops = { | 114 | static const struct sdhci_ops pxav2_sdhci_ops = { |
| 115 | .get_max_clock = sdhci_pltfm_clk_get_max_clock, | 115 | .get_max_clock = sdhci_pltfm_clk_get_max_clock, |
| 116 | .platform_reset_exit = pxav2_set_private_registers, | 116 | .platform_reset_exit = pxav2_set_private_registers, |
| 117 | .platform_bus_width = pxav2_mmc_set_width, | 117 | .platform_bus_width = pxav2_mmc_set_width, |
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index a0cdbc570a83..5663a6e754e5 100644 --- a/drivers/mmc/host/sdhci-pxav3.c +++ b/drivers/mmc/host/sdhci-pxav3.c | |||
| @@ -167,7 +167,7 @@ static int pxav3_set_uhs_signaling(struct sdhci_host *host, unsigned int uhs) | |||
| 167 | return 0; | 167 | return 0; |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | static struct sdhci_ops pxav3_sdhci_ops = { | 170 | static const struct sdhci_ops pxav3_sdhci_ops = { |
| 171 | .platform_reset_exit = pxav3_set_private_registers, | 171 | .platform_reset_exit = pxav3_set_private_registers, |
| 172 | .set_uhs_signaling = pxav3_set_uhs_signaling, | 172 | .set_uhs_signaling = pxav3_set_uhs_signaling, |
| 173 | .platform_send_init_74_clocks = pxav3_gen_init_74_clocks, | 173 | .platform_send_init_74_clocks = pxav3_gen_init_74_clocks, |
diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c index c6ece0bd03b3..8d28334ff913 100644 --- a/drivers/mmc/host/sdhci-spear.c +++ b/drivers/mmc/host/sdhci-spear.c | |||
| @@ -36,7 +36,7 @@ struct spear_sdhci { | |||
| 36 | }; | 36 | }; |
| 37 | 37 | ||
| 38 | /* sdhci ops */ | 38 | /* sdhci ops */ |
| 39 | static struct sdhci_ops sdhci_pltfm_ops = { | 39 | static const struct sdhci_ops sdhci_pltfm_ops = { |
| 40 | /* Nothing to do for now. */ | 40 | /* Nothing to do for now. */ |
| 41 | }; | 41 | }; |
| 42 | 42 | ||
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index f8ac50c2883e..45048d1a4a2f 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c | |||
| @@ -147,7 +147,7 @@ static int tegra_sdhci_buswidth(struct sdhci_host *host, int bus_width) | |||
| 147 | return 0; | 147 | return 0; |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | static struct sdhci_ops tegra_sdhci_ops = { | 150 | static const struct sdhci_ops tegra_sdhci_ops = { |
| 151 | .get_ro = tegra_sdhci_get_ro, | 151 | .get_ro = tegra_sdhci_get_ro, |
| 152 | .read_l = tegra_sdhci_readl, | 152 | .read_l = tegra_sdhci_readl, |
| 153 | .read_w = tegra_sdhci_readw, | 153 | .read_w = tegra_sdhci_readw, |
