lkml.org 
[lkml]   [2011]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mmotm] media: video/adp1653.c needs module.h
Hi Randy,

On Wed, 3 Aug 2011 10:12:26 -0700 Randy Dunlap <rdunlap@xenotime.net> wrote:
>
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> adp1653.c uses interfaces that are provided by <linux/module.h>
> and needs to include that header file to fix build errors.
>
> drivers/media/video/adp1653.c:453: warning: data definition has no type or storage class
> drivers/media/video/adp1653.c:453: warning: parameter names (without types) in function declaration
> drivers/media/video/adp1653.c:474: error: 'THIS_MODULE' undeclared (first use in this function)
> and more.
>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>

That is a bug that is now in Linus' tree and this fix is pending in the
moduleh tree in linux-next. So this patch should go to Linus.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-08-04 02:27    [W:0.351 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site