gpio: add missing includes in machine.h
PATCH 1/1 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 <[email protected]>
Reported-by Thierry Reding <[email protected]>
Signed-off-by Alexandre Courbot <[email protected]>
--- include/linux/gpio/machine.h | 3 +++ 1 file changed, 3 insertions(+)
include/linux/gpio/machine.h +3 -0
@@ -1,6 +1,9 @@#ifndef __LINUX_GPIO_MACHINE_H#define __LINUX_GPIO_MACHINE_H +#include <linux/types.h> +#include <linux/list.h> +enum gpio_lookup_flags {GPIO_ACTIVE_HIGH = (0 <<0 ), GPIO_ACTIVE_LOW = (1 << 0),
Signature · 1 line
2.0.3
Quoted 6 lines · Alexandre Courbot
linux/types.handlinux/list.hshould be included so the typed used in the header file are always properly declared.Reported-by Stephen Rothwell <[email protected]>Reported-by Thierry Reding <[email protected]>Signed-off-by Alexandre Courbot <[email protected]>
Patch applied, preparing for the v3.17 pull request.
Yours,
Linus Walleij