of_platform.h: delete needless include <linux/module.h>
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 19:58:15 +0000 (15:58 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:27 +0000 (19:32 -0400)
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>
include/linux/of_platform.h

index 5a6f458a4bb745c0ab4058448a5c2c4834cf809d..040ce2f6e8decc5e5774a8ef584b6b0ff37b6b4b 100644 (file)
@@ -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>