Re: linux-next: incorrect build fix

From: Stephen Rothwell
Date: Wed Nov 09 2011 - 01:37:35 EST


Hi,

On Wed, 09 Nov 2011 15:11:50 +0900 Kukjin Kim <kgene.kim@xxxxxxxxxxx> wrote:
>
> I'm not sure following......
> So only for THIS_MODULE, <linux/export.h> should be added instead of
> <linux/module.h>?

Yes, that is correct. It means that much less code is included. If
replacing module.h with export.h causes other build errors, they should
be fixed by including the correct files directly (module.h include a lot
of other include files).

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature