summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/pinctrl-imx28.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-23 16:49:12 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-08-31 14:57:01 +0300
commitae9d7f83a58d94380a05efd796da0373bcb9fb04 (patch)
tree0a30ed1c3b8ed7bb1986356a75595a878b09059e /drivers/pinctrl/freescale/pinctrl-imx28.c
parent5241bd16c7576de3cf189e3e40b01bd4fa10f803 (diff)
downloadlinux-ae9d7f83a58d94380a05efd796da0373bcb9fb04.tar.xz
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: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx28.c')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx28.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx28.c b/drivers/pinctrl/freescale/pinctrl-imx28.c
index 295236dfb0bc..87deb9ec938a 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx28.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx28.c
@@ -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,