Re: [PATCH 4/8] gpio: altera: fix implicit assumption module.h is present

2016-09-15 Thread Linus Walleij
On Tue, Sep 13, 2016 at 12:16 AM, Paul Gortmaker wrote: > The Kconfig for this file is: > > drivers/gpio/Kconfig:config GPIO_ALTERA > drivers/gpio/Kconfig: tristate "Altera GPIO" > > ...but however it does not include module.h -- it in turn gets it from > another

Re: [PATCH 4/8] gpio: altera: fix implicit assumption module.h is present

2016-09-15 Thread Linus Walleij
On Tue, Sep 13, 2016 at 12:16 AM, Paul Gortmaker wrote: > The Kconfig for this file is: > > drivers/gpio/Kconfig:config GPIO_ALTERA > drivers/gpio/Kconfig: tristate "Altera GPIO" > > ...but however it does not include module.h -- it in turn gets it from > another header (gpio/driver.h) and

[PATCH 4/8] gpio: altera: fix implicit assumption module.h is present

2016-09-12 Thread Paul Gortmaker
The Kconfig for this file is: drivers/gpio/Kconfig:config GPIO_ALTERA drivers/gpio/Kconfig: tristate "Altera GPIO" ...but however it does not include module.h -- it in turn gets it from another header (gpio/driver.h) and we'd like to replace that with a forward delcaration of "struct module;"

[PATCH 4/8] gpio: altera: fix implicit assumption module.h is present

2016-09-12 Thread Paul Gortmaker
The Kconfig for this file is: drivers/gpio/Kconfig:config GPIO_ALTERA drivers/gpio/Kconfig: tristate "Altera GPIO" ...but however it does not include module.h -- it in turn gets it from another header (gpio/driver.h) and we'd like to replace that with a forward delcaration of "struct module;"