diff options
author | Kent Gibson <warthog618@gmail.com> | 2023-12-21 04:20:37 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-12-27 17:43:40 +0300 |
commit | ede7511e7c22c9542a699ddff9f32de74e0bb972 (patch) | |
tree | 357403bc5d7ff42c0dff8299a3bba51b14c54606 /drivers | |
parent | 4ccdaba5ab560862f89d1d971fbcc2ef424e1867 (diff) | |
download | linux-ede7511e7c22c9542a699ddff9f32de74e0bb972.tar.xz |
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')
-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> |