aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/imxmmc.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/imxmmc.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/imxmmc.c')
-rw-r--r--drivers/mmc/imxmmc.c2
1 files changed, 1 insertions, 1 deletions
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
880static struct mmc_host_ops imxmci_ops = { 880static 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};