Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f57b225e authored by David Brownell's avatar David Brownell Committed by Russell King
Browse files

[MMC] constify mmc_host_ops



Let drivers constify MMC host method operations tables,
moving them from ".data" to ".rodata".

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Acked-by: default avatarPierre Ossman <drzeus@drzeus.cx>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 10387e5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;