aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/omap.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-11-12 20:55:30 -0500
committerPierre Ossman <drzeus@drzeus.cx>2006-12-01 11:58:53 -0500
commitab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae (patch)
tree1eea51f92149b41f4f9ebd5ab0b9b4346425a7fd /drivers/mmc/omap.c
parent87598a2bd4c4ed19b91ef163f76297f305007304 (diff)
mmc: constify mmc_host_ops vectors
Now that mmc_host_ops can be constified, update the various drivers to constify those method tables and shrink the writable data segment. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/omap.c')
-rw-r--r--drivers/mmc/omap.c2
1 files changed, 1 insertions, 1 deletions
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
963static struct mmc_host_ops mmc_omap_ops = { 963static 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,