Re: [PATCH] gpio: mxs: implement get_direction callback

Alexander Shiyan shc_work at
Mon Nov 17 00:38:54 PST 2014


> > struct mctrl_gpios *mctrl_gpio_init(struct device *dev, unsigned int
> > idx, int *irqs)
> What is idx about? I see it already in the mctrl_gpio API, but there is
> no documentation about how it's used. Is it always 0?

This could be used for drivers with several UARTs, which registered at once.


More information about the linux-arm-kernel mailing list