lkml.org 
[lkml]   [2022]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 1/1] mfd: twl4030: Add missed linux/device.h header
On Fri, 23 Sep 2022, Andy Shevchenko wrote:

> 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>
> ---
> drivers/mfd/twl4030-irq.c | 1 +
> 1 file changed, 1 insertion(+)

Applied, thanks.

--
Lee Jones [李琼斯]

\
 
 \ /
  Last update: 2022-09-26 09:56    [W:0.041 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site