Re: [RFC] tty/serial/8250: use mctrl_gpio helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux