Thread (12 messages) flat view 12 messages, 4 authors, 2022-09-28
STALE1457d LANDED

Landed in mainline as 2b7672b0fa0b on 2022-09-27.

[PATCH 1/4] Input: twl4030-pwrbutton - add missing of.h include

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-09-27 05:22:26
Also in: linux-iio, linux-watchdog, lkml
Subsystem: input (keyboard, mouse, joystick, touchscreen) drivers, the rest · Maintainers: Dmitry Torokhov, Linus Torvalds

The driver is using of_match_ptr() and therefore needs to include
of.h header.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/misc/twl4030-pwrbutton.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/misc/twl4030-pwrbutton.c b/drivers/input/misc/twl4030-pwrbutton.c
index b307cca17022..e3ee0638ffba 100644
--- a/drivers/input/misc/twl4030-pwrbutton.c
+++ b/drivers/input/misc/twl4030-pwrbutton.c
@@ -26,6 +26,7 @@
 #include <linux/errno.h>
 #include <linux/input.h>
 #include <linux/interrupt.h>
+#include <linux/of.h>
 #include <linux/platform_device.h>
 #include <linux/mfd/twl.h>
 
-- 
2.38.0.rc1.362.ged0d419d3c-goog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help