mfd: twl4030: Add missed linux/device.h header
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Sep 2022 17:54:01 +0000 (20:54 +0300)
committerLee Jones <lee@kernel.org>
Wed, 28 Sep 2022 15:17:41 +0000 (16:17 +0100)
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220923175401.8723-1-andriy.shevchenko@linux.intel.com
drivers/mfd/twl4030-irq.c

index 4f576f0160a94ee7f34b70863b361dee33357907..87496c1cb8bca617db30382cf06429482ceeeb7d 100644 (file)
@@ -14,6 +14,7 @@
  * by syed khasim <x0khasim@ti.com>
  */
 
+#include <linux/device.h>
 #include <linux/export.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>