On Tue, Sep 13, 2016 at 12:16 AM, Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote: > This file is currently getting module.h from a global gpio header > and it will fail to build once we remove module.h from that. > > However, the driver is controlled with the following Kconfig: > > drivers/gpio/Kconfig:config GPIO_PALMAS > drivers/gpio/Kconfig: bool "TI PALMAS series PMICs GPIO" > > and hence the line of MODULE_DEVICE_TABLE is a no-op that can simply > be deleted. In fact it should have been removed in an earlier commit > that did demodularization, however the unseen include prevented my > build testing from detecting it. > > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> > Cc: Alexandre Courbot <gnurou@xxxxxxxxx> > Cc: linux-gpio@xxxxxxxxxxxxxxx > Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Patch applied. 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