]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sysdev.h: dont include <linux/module.h> for no reason
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 15:41:46 +0000 (11:41 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 26 Aug 2011 15:52:18 +0000 (11:52 -0400)
commitdbfb6c6c85a6502afa05e7f7b9f22f22c89bd25c
treeee6ca983e381b148bd0c0dc12a0be74ef1a88e16
parentc6cc3ae30d2e57305ef120c4368668d9428d6cc2
sysdev.h: dont include <linux/module.h> for no reason

The <linux/module.h> pretty much brings in the kitchen sink along
with it, so it should be avoided wherever reasonably possible in
terms of being included from other commonly used <linux/something.h>
files, as it results in a measureable increase on compile times.

There doesn't appear to be any module specifics in this file.
The obvious people who were relying on the presence of
the vast amount of stuff module.h sucked in have been fixed.

If other files are implicitly relying on it, then lets see who
they are and fix them too.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/sysdev.h