Re: [PATCH 2/8] gpio: sx150x: fix implicit assumption module.h is present
From: Linus Walleij
Date: Thu Sep 15 2016 - 07:59:34 EST
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 faii to build once we remove module.h from that.
>
> However, the driver is controlled with the following Kconfig:
>
> drivers/gpio/Kconfig:config GPIO_SX150X
> drivers/gpio/Kconfig: bool "Semtech SX150x I2C GPIO expander"
>
> and hence the two lines of MODULE_DEVICE_TABLE are no-ops that
> can simply be deleted.
>
> 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