Skip to content

Commit b3ea074

Browse files
GnurouLinus Walleij
authored andcommitted
gpio: add missing includes in machine.h
linux/types.h and linux/list.h should be included so the typed used in the header file are always properly declared. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 39b2bbe commit b3ea074

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎include/linux/gpio/machine.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#ifndef __LINUX_GPIO_MACHINE_H
22
#define __LINUX_GPIO_MACHINE_H
33

4+
#include <linux/types.h>
5+
#include <linux/list.h>
6+
47
enum gpio_lookup_flags {
58
GPIO_ACTIVE_HIGH = (0 << 0),
69
GPIO_ACTIVE_LOW = (1 << 0),

0 commit comments

Comments
 (0)