Commit 012c5e8d authored by Jona Crasselt's avatar Jona Crasselt Committed by Greg Kroah-Hartman
Browse files

mt7621-mmc: char * array declaration might be better as static const



Issue reported by checkpatch.pl.

Signed-off-by: default avatarJona Crasselt <jona.crasselt@fau.de>
Signed-off-by: default avatarFelix Windsheimer <felix.windsheimer@fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 515ba7e7
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1203,19 +1203,19 @@ static void msdc_ops_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
	u32 ddr = 0;

#ifdef MT6575_SD_DEBUG
	static char *vdd[] = {
	static const char * const vdd[] = {
		"1.50v", "1.55v", "1.60v", "1.65v", "1.70v", "1.80v", "1.90v",
		"2.00v", "2.10v", "2.20v", "2.30v", "2.40v", "2.50v", "2.60v",
		"2.70v", "2.80v", "2.90v", "3.00v", "3.10v", "3.20v", "3.30v",
		"3.40v", "3.50v", "3.60v"
	};
	static char *power_mode[] = {
	static const char * const power_mode[] = {
		"OFF", "UP", "ON"
	};
	static char *bus_mode[] = {
	static const char * const bus_mode[] = {
		"UNKNOWN", "OPENDRAIN", "PUSHPULL"
	};
	static char *timing[] = {
	static const char * const timing[] = {
		"LEGACY", "MMC_HS", "SD_HS"
	};