summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/pxamci.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-11-12 17:55:30 -0800
committerPierre Ossman <drzeus@drzeus.cx>2006-12-01 17:58:53 +0100
commitab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae (patch)
tree1eea51f92149b41f4f9ebd5ab0b9b4346425a7fd /drivers/mmc/pxamci.c
parent87598a2bd4c4ed19b91ef163f76297f305007304 (diff)
downloadop-kernel-dev-ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae.zip
op-kernel-dev-ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae.tar.gz
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/pxamci.c')
-rw-r--r--drivers/mmc/pxamci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c
index a526698..471e9f4 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)
host->clkrt, host->cmdat);
}
-static struct mmc_host_ops pxamci_ops = {
+static const struct mmc_host_ops pxamci_ops = {
.request = pxamci_request,
.get_ro = pxamci_get_ro,
.set_ios = pxamci_set_ios,
OpenPOWER on IntegriCloud