Skip to content

Commit 2b7672b

Browse files
committed
Input: twl4030-pwrbutton - add missing of.h include
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>
1 parent 24613f7 commit 2b7672b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/input/misc/twl4030-pwrbutton.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <linux/errno.h>
2727
#include <linux/input.h>
2828
#include <linux/interrupt.h>
29+
#include <linux/of.h>
2930
#include <linux/platform_device.h>
3031
#include <linux/mfd/twl.h>
3132

0 commit comments

Comments
 (0)