[4.2-rc3] macintosh/ans-lcd.c: Missing include causes compile failure

Michael Ellerman mpe at ellerman.id.au
Thu Jul 23 20:18:44 AEST 2015

On Mon, 2015-20-07 at 19:01:42 UTC, Tim Gardner wrote:
> From: Tim Gardner <tim.gardner at canonical.com>
> drivers/macintosh/ans-lcd.c:201:1: warning: data definition has no type or storage class
>  module_init(anslcd_init);
>  ^
> drivers/macintosh/ans-lcd.c:201:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
> gcc version 4.9.3 (Ubuntu 4.9.3-1ubuntu1)

Thanks Tim but Luis beat you to it:


I'll send the fix to Linus in the next day or two.


More information about the Linuxppc-dev mailing list