of/fdt: remove some unneeded includes
authorRob Herring <robh@kernel.org>
Thu, 27 Mar 2014 12:24:57 +0000 (07:24 -0500)
committerRob Herring <robh@kernel.org>
Wed, 30 Apr 2014 05:59:14 +0000 (00:59 -0500)
Whatever needed powerpc machdep.h appears to have been removed, so the
include can be dropped.

module.h is not needed as this code is always built-in.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Grant Likely <grant.likely@linaro.org>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Grant Likely <grant.likely@linaro.org>
Tested-by: Stephen Chivers <schivers@csc.com>
drivers/of/fdt.c

index 7a2ef7bb8022b47b056be0cd2eae473459d0ff82..63bdcee473faa7c1b4055bc6e77b4bb6c338ddeb 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/kernel.h>
 #include <linux/initrd.h>
 #include <linux/memblock.h>
-#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_fdt.h>
 #include <linux/of_reserved_mem.h>
 #include <linux/slab.h>
 
 #include <asm/setup.h>  /* for COMMAND_LINE_SIZE */
-#ifdef CONFIG_PPC
-#include <asm/machdep.h>
-#endif /* CONFIG_PPC */
-
 #include <asm/page.h>
 
 char *of_fdt_get_string(struct boot_param_header *blob, u32 offset)