diff options
author | David Brownell <david-b@pacbell.net> | 2006-11-13 01:55:30 (GMT) |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2006-12-01 16:58:53 (GMT) |
commit | ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae (patch) | |
tree | 1eea51f92149b41f4f9ebd5ab0b9b4346425a7fd /drivers/mmc/au1xmmc.c | |
parent | 87598a2bd4c4ed19b91ef163f76297f305007304 (diff) | |
download | linux-ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae.tar.xz |
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/au1xmmc.c')
-rw-r--r-- | drivers/mmc/au1xmmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/au1xmmc.c b/drivers/mmc/au1xmmc.c index 53ffcbb..447fba5 100644 --- a/drivers/mmc/au1xmmc.c +++ b/drivers/mmc/au1xmmc.c @@ -875,7 +875,7 @@ static void au1xmmc_init_dma(struct au1xmmc_host *host) host->rx_chan = rxchan; } -struct mmc_host_ops au1xmmc_ops = { +struct const mmc_host_ops au1xmmc_ops = { .request = au1xmmc_request, .set_ios = au1xmmc_set_ios, }; |