]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Input: twl4030-pwrbutton - add missing of.h include
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 Sep 2022 15:42:36 +0000 (08:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 Sep 2022 15:43:04 +0000 (08:43 -0700)
The driver is using of_match_ptr() and therefore needs to include
of.h header.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220927052217.2784593-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/twl4030-pwrbutton.c

index b307cca170222671948996e6585306c7ec72e71e..e3ee0638ffbaf09e22fc461375afe83ff248114a 100644 (file)
@@ -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>