]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/pinctrl/sh-pfc/pfc-sh7720.c
sh-pfc: Replace SoC info data and mark ranges with a number of pins
[karo-tx-linux.git] / drivers / pinctrl / sh-pfc / pfc-sh7720.c
index 8646237e9dffaae641d32e6980d7318b67a0dbe7..48771779946c95cf019b95f687994d6f5e9c8b3c 100644 (file)
@@ -1216,14 +1216,13 @@ static struct pinmux_data_reg pinmux_data_regs[] = {
 struct sh_pfc_soc_info sh7720_pinmux_info = {
        .name = "sh7720_pfc",
        .reserved_id = PINMUX_RESERVED,
-       .data = { PINMUX_DATA_BEGIN, PINMUX_DATA_END },
        .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END },
        .input_pu = { PINMUX_INPUT_PULLUP_BEGIN, PINMUX_INPUT_PULLUP_END },
        .output = { PINMUX_OUTPUT_BEGIN, PINMUX_OUTPUT_END },
-       .mark = { PINMUX_MARK_BEGIN, PINMUX_MARK_END },
        .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
 
        .gpios = pinmux_gpios,
+       .nr_pins = GPIO_PTV0 + 1,
        .nr_gpios = ARRAY_SIZE(pinmux_gpios),
 
        .cfg_regs = pinmux_config_regs,