From: David Brownell Date: Sun, 3 Sep 2006 13:43:33 +0000 (-0700) Subject: [MMC] constify mmc_host_ops X-Git-Tag: v2.6.18-rc7~9^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f57b225e432d80ee46f48536cc55ea6cf62c5570;p=linux-2.6 [MMC] constify mmc_host_ops Let drivers constify MMC host method operations tables, moving them from ".data" to ".rodata". Signed-off-by: David Brownell Acked-by: Pierre Ossman Signed-off-by: Russell King --- diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index c1f021eddf..ba095aebed 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;