diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-10-25 07:57:19 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-10-28 21:56:17 +0300 |
commit | c59b6bc4673b80c8b26e1102f80b9fbd5f7b8023 (patch) | |
tree | 4a9c774b6e9afc0c5a360bd298dde86f131dbe11 /drivers/input/keyboard | |
parent | 80194a13240b39842d46bf639c7d765ad0cb5648 (diff) | |
download | linux-c59b6bc4673b80c8b26e1102f80b9fbd5f7b8023.tar.xz |
Input: stmpe-keypad - add missing of.h include
The driver is using of_property_read_u32() and therefore needs to include
of.h header.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/stmpe-keypad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/keyboard/stmpe-keypad.c b/drivers/input/keyboard/stmpe-keypad.c index 7bf97285e30c..2c6c53290cc0 100644 --- a/drivers/input/keyboard/stmpe-keypad.c +++ b/drivers/input/keyboard/stmpe-keypad.c @@ -9,6 +9,7 @@ #include <linux/slab.h> #include <linux/input.h> #include <linux/interrupt.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/input/matrix_keypad.h> #include <linux/mfd/stmpe.h> |