[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>
This commit is contained in:
parent
10387e5eb4
commit
f57b225e43
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ struct mmc_host {
|
||||||
struct device *dev;
|
struct device *dev;
|
||||||
struct class_device class_dev;
|
struct class_device class_dev;
|
||||||
int index;
|
int index;
|
||||||
struct mmc_host_ops *ops;
|
const struct mmc_host_ops *ops;
|
||||||
unsigned int f_min;
|
unsigned int f_min;
|
||||||
unsigned int f_max;
|
unsigned int f_max;
|
||||||
u32 ocr_avail;
|
u32 ocr_avail;
|
||||||
|
|
Reference in a new issue