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

Commit c034a6fd authored by Arvind Yadav's avatar Arvind Yadav Committed by Thierry Reding
Browse files

pwm: hibvt: Constify hibvt_pwm_ops



File size before:
   text	   data	    bss	    dec	    hex	filename
   1510	    296	      0	   1806	    70e	drivers/pwm/pwm-hibvt.o
File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
   1606	    192	      0	   1798	    706	drivers/pwm/pwm-hibvt.o

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 0e1921dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ static int hibvt_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
	return 0;
}

static struct pwm_ops hibvt_pwm_ops = {
static const struct pwm_ops hibvt_pwm_ops = {
	.get_state = hibvt_pwm_get_state,
	.apply = hibvt_pwm_apply,