diff options
Diffstat (limited to 'drivers/pinctrl/sh-pfc/pfc-shx3.c')
-rw-r--r-- | drivers/pinctrl/sh-pfc/pfc-shx3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-shx3.c b/drivers/pinctrl/sh-pfc/pfc-shx3.c index 93d60cd4c437..6594c8c48747 100644 --- a/drivers/pinctrl/sh-pfc/pfc-shx3.c +++ b/drivers/pinctrl/sh-pfc/pfc-shx3.c | |||
@@ -147,7 +147,7 @@ enum { | |||
147 | PINMUX_MARK_END, | 147 | PINMUX_MARK_END, |
148 | }; | 148 | }; |
149 | 149 | ||
150 | static pinmux_enum_t shx3_pinmux_data[] = { | 150 | static const pinmux_enum_t shx3_pinmux_data[] = { |
151 | 151 | ||
152 | /* PA GPIO */ | 152 | /* PA GPIO */ |
153 | PINMUX_DATA(PA7_DATA, PA7_IN, PA7_OUT, PA7_IN_PU), | 153 | PINMUX_DATA(PA7_DATA, PA7_IN, PA7_OUT, PA7_IN_PU), |
@@ -388,7 +388,7 @@ static struct sh_pfc_pin shx3_pinmux_pins[] = { | |||
388 | 388 | ||
389 | #define PINMUX_FN_BASE ARRAY_SIZE(shx3_pinmux_pins) | 389 | #define PINMUX_FN_BASE ARRAY_SIZE(shx3_pinmux_pins) |
390 | 390 | ||
391 | static struct pinmux_func shx3_pinmux_func_gpios[] = { | 391 | static const struct pinmux_func shx3_pinmux_func_gpios[] = { |
392 | /* FN */ | 392 | /* FN */ |
393 | GPIO_FN(D31), | 393 | GPIO_FN(D31), |
394 | GPIO_FN(D30), | 394 | GPIO_FN(D30), |
@@ -454,7 +454,7 @@ static struct pinmux_func shx3_pinmux_func_gpios[] = { | |||
454 | GPIO_FN(IRQOUT), | 454 | GPIO_FN(IRQOUT), |
455 | }; | 455 | }; |
456 | 456 | ||
457 | static struct pinmux_cfg_reg shx3_pinmux_config_regs[] = { | 457 | static const struct pinmux_cfg_reg shx3_pinmux_config_regs[] = { |
458 | { PINMUX_CFG_REG("PABCR", 0xffc70000, 32, 2) { | 458 | { PINMUX_CFG_REG("PABCR", 0xffc70000, 32, 2) { |
459 | PA7_FN, PA7_OUT, PA7_IN, PA7_IN_PU, | 459 | PA7_FN, PA7_OUT, PA7_IN, PA7_IN_PU, |
460 | PA6_FN, PA6_OUT, PA6_IN, PA6_IN_PU, | 460 | PA6_FN, PA6_OUT, PA6_IN, PA6_IN_PU, |
@@ -530,7 +530,7 @@ static struct pinmux_cfg_reg shx3_pinmux_config_regs[] = { | |||
530 | { }, | 530 | { }, |
531 | }; | 531 | }; |
532 | 532 | ||
533 | static struct pinmux_data_reg shx3_pinmux_data_regs[] = { | 533 | static const struct pinmux_data_reg shx3_pinmux_data_regs[] = { |
534 | { PINMUX_DATA_REG("PABDR", 0xffc70010, 32) { | 534 | { PINMUX_DATA_REG("PABDR", 0xffc70010, 32) { |
535 | 0, 0, 0, 0, 0, 0, 0, 0, | 535 | 0, 0, 0, 0, 0, 0, 0, 0, |
536 | PA7_DATA, PA6_DATA, PA5_DATA, PA4_DATA, | 536 | PA7_DATA, PA6_DATA, PA5_DATA, PA4_DATA, |
@@ -566,7 +566,7 @@ static struct pinmux_data_reg shx3_pinmux_data_regs[] = { | |||
566 | { }, | 566 | { }, |
567 | }; | 567 | }; |
568 | 568 | ||
569 | struct sh_pfc_soc_info shx3_pinmux_info = { | 569 | const struct sh_pfc_soc_info shx3_pinmux_info = { |
570 | .name = "shx3_pfc", | 570 | .name = "shx3_pfc", |
571 | .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, | 571 | .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, |
572 | .input_pu = { PINMUX_INPUT_PULLUP_BEGIN, | 572 | .input_pu = { PINMUX_INPUT_PULLUP_BEGIN, |