diff options
author | David Brownell <david-b@pacbell.net> | 2006-11-13 02:55:30 +0100 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2006-12-01 17:58:53 +0100 |
commit | ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae (patch) | |
tree | 1eea51f92149b41f4f9ebd5ab0b9b4346425a7fd /drivers/mmc/wbsd.c | |
parent | mmc: remove kernel_thread() (diff) | |
download | linux-ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae.tar.xz linux-ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae.zip |
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/wbsd.c')
-rw-r--r-- | drivers/mmc/wbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c index ced309b37a8f..7e040eb18ff2 100644 --- a/drivers/mmc/wbsd.c +++ b/drivers/mmc/wbsd.c @@ -1021,7 +1021,7 @@ static int wbsd_get_ro(struct mmc_host *mmc) return csr & WBSD_WRPT; } -static struct mmc_host_ops wbsd_ops = { +static const struct mmc_host_ops wbsd_ops = { .request = wbsd_request, .set_ios = wbsd_set_ios, .get_ro = wbsd_get_ro, |