aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-09-23 20:54:01 +0300
committerLee Jones <[email protected]>2022-09-28 16:17:41 +0100
commit6c6a8c6af6423b5d316dcb8016857e33f36ddb35 (patch)
tree38dbdf036681eac7035cabe1cf411e36706c2100
parentc15c19dd4eb81e38636564198e09364fe8fcb2a9 (diff)
mfd: twl4030: Add missed linux/device.h header
With compile testing on non-OMAP platforms compiler might be not happy: In function ‘twl4030_sih_setup’: error: implicit declaration of function ‘dev_err’ [-Werror=implicit-function-declaration] error: implicit declaration of function ‘dev_info’ [-Werror=implicit-function-declaration] In function ‘twl4030_init_irq’: error: invalid use of undefined type ‘struct device’ Add missed header. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/mfd/twl4030-irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c
index 4f576f0160a9..87496c1cb8bc 100644
--- a/drivers/mfd/twl4030-irq.c
+++ b/drivers/mfd/twl4030-irq.c
@@ -14,6 +14,7 @@
* by syed khasim <[email protected]>
*/
+#include <linux/device.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/irq.h>