diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-09-28 11:34:37 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-10-02 11:14:23 +0200 |
commit | d9d5829d457f1fe72f42cc813008eb7a8f789c47 (patch) | |
tree | b11859990258b53ee2d65f21a7571a47de6af6ff /drivers | |
parent | 3bb5c9ddf46bf35bd86293cf77f1d88689689fc2 (diff) | |
download | linux-stable-d9d5829d457f1fe72f42cc813008eb7a8f789c47.tar.gz linux-stable-d9d5829d457f1fe72f42cc813008eb7a8f789c47.tar.bz2 linux-stable-d9d5829d457f1fe72f42cc813008eb7a8f789c47.zip |
gpio: sim: add missing include
We use size_t, ssize_t, bool and some other types defined in
linux/types.h so include it in the driver.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-sim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-sim.c b/drivers/gpio/gpio-sim.c index 460389bb8e3f..4314440b693e 100644 --- a/drivers/gpio/gpio-sim.c +++ b/drivers/gpio/gpio-sim.c @@ -31,6 +31,7 @@ #include <linux/string.h> #include <linux/string_helpers.h> #include <linux/sysfs.h> +#include <linux/types.h> #define GPIO_SIM_NGPIO_MAX 1024 #define GPIO_SIM_PROP_MAX 4 /* Max 3 properties + sentinel. */ |