diff options
author | Kent Gibson | 2023-12-21 09:20:37 +0800 |
---|---|---|
committer | Bartosz Golaszewski | 2023-12-27 15:43:40 +0100 |
commit | ede7511e7c22c9542a699ddff9f32de74e0bb972 (patch) | |
tree | 357403bc5d7ff42c0dff8299a3bba51b14c54606 /drivers/gpio | |
parent | 4ccdaba5ab560862f89d1d971fbcc2ef424e1867 (diff) |
gpiolib: cdev: include overflow.h
struct_size() is used to calculate struct linereq size, so explicitly
include overflow.h.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib-cdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c index 9155c54acc1e..942fe115b726 100644 --- a/drivers/gpio/gpiolib-cdev.c +++ b/drivers/gpio/gpiolib-cdev.c @@ -20,6 +20,7 @@ #include <linux/kfifo.h> #include <linux/module.h> #include <linux/mutex.h> +#include <linux/overflow.h> #include <linux/pinctrl/consumer.h> #include <linux/poll.h> #include <linux/rbtree.h> |