![](https://secure.gravatar.com/avatar/d930951cb00393ecf9c3db3a56d78fa9.jpg?s=120&d=mm&r=g)
10 Jan
2017
10 Jan
'17
5:40 p.m.
On Tue, Jan 10, 2017 at 04:30:50PM +0100, Arnd Bergmann wrote:
gpiod_set_value_cansleep is declared in linux/gpio/consumer.h, but that is not always included implicitly, so we have to include both gpio.h and gpio/consumer.h here:
This doesn't apply against current code, it looks like someone already made the same change.