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

Commit a74cf0c2 authored by Jingoo Han's avatar Jingoo Han Committed by Mark Brown
Browse files

regulator: st-pwm: Make of_device_id array const



Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 2449df9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ static const struct st_pwm_regulator_pdata b2105_info = {
	.duty_cycle_table = b2105_duty_cycle_table,
};

static struct of_device_id st_pwm_of_match[] = {
static const struct of_device_id st_pwm_of_match[] = {
	{ .compatible = "st,b2105-pwm-regulator", .data = &b2105_info, },
	{ },
};