linux-next: incorrect build fix

From: Stephen Rothwell
Date: Tue Nov 08 2011 - 16:26:36 EST


Hi,

I noticed in commit 8644c202ff42 ("ARM: EXYNOS: Fix compiler error with
THIS_MODULE") in the s5p tree, an include of linux/module.h is used to
get THIS_MODULE. For THIS_MODULE, you only need to include
linux/export.h, now. To fix the other errors that were fixed by side
effects of including module.h, you should include linux/time.h (for
struct timeval, USEC_PER_SEC and do_gettimeofday).

Please try a bit harder to get these things right.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature