On Thu, Nov 20, 2014 at 1:37 PM, Vincent Yang <vincent.yang.fujitsu@xxxxxxxxx> wrote: > Driver for Fujitsu MB86S7x SoCs that have a memory mapped GPIO controller. > > Signed-off-by: Andy Green <andy.green@xxxxxxxxxx> > Signed-off-by: Jassi Brar <jaswinder.singh@xxxxxxxxxx> > Signed-off-by: Vincent Yang <Vincent.Yang@xxxxxxxxxxxxxx> > Signed-off-by: Tetsuya Nuriya <nuriya.tetsuya@xxxxxxxxxxxxxx> This is a very simple MMIO GPIO controller. Why can this *not* just select GPIO_GENERIC and use drivers/gpio/gpio-generic.c? You need a smallish driver making use of the generic MMIO library, see for example drivers/gpio/gpio-74xx-mmio.c or any other driver selecting GPIO_GENERIC. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html