diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2022-03-21 12:11:15 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-03-28 10:30:04 +0200 |
commit | 8fa4b9b67f6f84558f4c7812249f5936b5ef630e (patch) | |
tree | 0c6dae795a93d6fa3677d39e82bcd79a4b538e08 /include/gpio.h | |
parent | 278e30e863c198f8a273bae04b4bd5e661b26cba (diff) | |
download | barebox-8fa4b9b67f6f84558f4c7812249f5936b5ef630e.tar.gz |
gpio: include header for BIT() used in <gpio.h>
e.g. GPIOF_ACTIVE_HIGH/LOW uses currently depend on another header
defining BIT(). Remedy this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220321111115.1569232-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/gpio.h')
-rw-r--r-- | include/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpio.h b/include/gpio.h index 81beb47309..6134190138 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -5,6 +5,7 @@ #include <linux/types.h> #include <linux/list.h> #include <linux/iopoll.h> +#include <linux/bitops.h> #ifdef CONFIG_GENERIC_GPIO void gpio_set_value(unsigned gpio, int value); |