Hello John, On 01/31/2013 12:59 PM, John Crispin wrote: [snip]
+ +struct ralink_pinmux gpio_pinmux = { + .mode = mode_mux, + .uart = uart_mux, + .uart_shift = RT305X_GPIO_MODE_UART0_SHIFT, + .wdt_reset = rt305x_wdt_reset, +};
It seems to me like the new convention for pinctrl/pinmux etc .. is to actually create drivers/pinctrl/pinctrl-ralink.c and drivers/pinctrl/pinctrl-rt305x.c, I guess this can be done later when you come up with support for the other Ralink SoCs.
-- Florian