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

Commit bdd6a67a authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz
Browse files

mfd: Constify WM8994 regulator_init_data



The driver has no need to modify the regulator_init_data so declare it
const to allow machine code to do so.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 97e43c98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ struct wm8994_ldo_pdata {
	int enable;

	const char *supply;
	struct regulator_init_data *init_data;
	const struct regulator_init_data *init_data;
};

#define WM8994_CONFIGURE_GPIO 0x10000