diff options
author | David Brownell <david-b@pacbell.net> | 2006-09-03 06:43:33 -0700 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-07 13:18:40 +0100 |
commit | f57b225e432d80ee46f48536cc55ea6cf62c5570 (patch) | |
tree | 7ae7851bd492c612ea3aa0b906c3df6f4fcdea60 /include/linux/mmc/host.h | |
parent | 10387e5eb45c6e48d67102b88229f5bc6037461c (diff) | |
download | kernel_samsung_tuna-f57b225e432d80ee46f48536cc55ea6cf62c5570.zip kernel_samsung_tuna-f57b225e432d80ee46f48536cc55ea6cf62c5570.tar.gz kernel_samsung_tuna-f57b225e432d80ee46f48536cc55ea6cf62c5570.tar.bz2 |
[MMC] constify mmc_host_ops
Let drivers constify MMC host method operations tables,
moving them from ".data" to ".rodata".
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r-- | include/linux/mmc/host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index c1f021e..ba095ae 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -77,7 +77,7 @@ struct mmc_host { struct device *dev; struct class_device class_dev; int index; - struct mmc_host_ops *ops; + const struct mmc_host_ops *ops; unsigned int f_min; unsigned int f_max; u32 ocr_avail; |