diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-09-27 08:42:36 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-09-27 08:43:04 -0700 |
commit | 2b7672b0fa0b833312aef5a366a741921af3634f (patch) | |
tree | ee475ecb7381713b899f7de04e90edb343a1bfc2 /drivers/input | |
parent | 24613f7c7f2dbd0b47ecdf9928600379e606dfda (diff) | |
download | linux-2b7672b0fa0b833312aef5a366a741921af3634f.tar.bz2 |
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>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/misc/twl4030-pwrbutton.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |