Skip to content

Commit

Permalink
of_platform.h: delete needless include <linux/module.h>
Browse files Browse the repository at this point in the history
There is nothing modular in this file, and no reason to drag
in all the 357 headers that module.h brings with it, since
it just slows down compiles.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent feede37 commit 7755c47
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/of_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/

#ifdef CONFIG_OF_DEVICE
#include <linux/module.h>
#include <linux/device.h>
#include <linux/mod_devicetable.h>
#include <linux/pm.h>
Expand Down

0 comments on commit 7755c47

Please sign in to comment.