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

Commit ae9d7f83 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Linus Walleij
Browse files

pinctrl: freescale: make mxs_regs const



Make these const as they are only stored in the const field of a
mxs_pinctrl_soc_data structure.

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5241bd16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -257,7 +257,7 @@ static const struct pinctrl_pin_desc imx23_pins[] = {
	MXS_PINCTRL_PIN(EMI_CLKN),
};

static struct mxs_regs imx23_regs = {
static const struct mxs_regs imx23_regs = {
	.muxsel = 0x100,
	.drive = 0x200,
	.pull = 0x400,
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ static const struct pinctrl_pin_desc imx28_pins[] = {
	MXS_PINCTRL_PIN(EMI_CKE),
};

static struct mxs_regs imx28_regs = {
static const struct mxs_regs imx28_regs = {
	.muxsel = 0x100,
	.drive = 0x300,
	.pull = 0x600,