提交 bdd6a67a 编写于 作者: M Mark Brown 提交者: Samuel Ortiz

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: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 97e43c98
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册