diff options
author | David Brownell <david-b@pacbell.net> | 2006-11-12 20:55:30 -0500 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2006-12-01 11:58:53 -0500 |
commit | ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae (patch) | |
tree | 1eea51f92149b41f4f9ebd5ab0b9b4346425a7fd /drivers/mmc/at91_mci.c | |
parent | 87598a2bd4c4ed19b91ef163f76297f305007304 (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/at91_mci.c')
-rw-r--r-- | drivers/mmc/at91_mci.c | 2 |
1 files changed, 1 insertions, 1 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, |