On Tue, Feb 4, 2014 at 9:42 PM, Lars-Peter Clausen <[email protected]> wrote:
> Make sure that the forward declared structs in gpio/consumer.h are also 
> visible
> on the else branch of the CONFIG_GPIOLIB #ifdef.
>
> Fixes the following warnings and their associated errors when CONFIG_GPIOLIB 
> is
> not selected:
>         include/linux/gpio/consumer.h:67:14: warning: 'struct device' 
> declared inside parameter list
>         include/linux/gpio/consumer.h:67:14: warning: its scope is only this 
> definition or declaration, which is probably not what you want
>         [...]
>
> Signed-off-by: Lars-Peter Clausen <[email protected]>

Reviewed-by: Alexandre Courbot <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to