Hello Yegor, On Thu, Mar 17, 2016 at 04:54:44PM +0100, Yegor Yefremov wrote: > Should I move > > struct mctrl_gpios { > struct uart_port *port; > struct gpio_desc *gpio[UART_GPIO_MAX]; > int irq[UART_GPIO_MAX]; > unsigned int mctrl_prev; > bool mctrl_on; > }; > > to serial_mctrl_gpio.h or should I create some routine, that tells me, > if given signal is GPIO or not? That already exists. Check the at91 driver. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html