summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorKent Gibson <warthog618@gmail.com>2023-12-21 04:20:37 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-12-27 17:43:40 +0300
commitede7511e7c22c9542a699ddff9f32de74e0bb972 (patch)
tree357403bc5d7ff42c0dff8299a3bba51b14c54606 /drivers/gpio
parent4ccdaba5ab560862f89d1d971fbcc2ef424e1867 (diff)
downloadlinux-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/gpio')
-rw-r--r--drivers/gpio/gpiolib-cdev.c1
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>