diff options
author | Rob Herring <robh@kernel.org> | 2014-03-27 08:24:57 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-04-30 01:59:14 -0400 |
commit | 0ee0496de97c6a511ce915f9b44f5b3db15350b7 (patch) | |
tree | 8e4035bfcdc84aabfc3cc8b078af28fa39023ef5 /drivers/of | |
parent | ccf3356e6b3d2802ea452c0091314605a9e7b7a0 (diff) |
of/fdt: remove some unneeded includes
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>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/fdt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 7a2ef7bb8022..63bdcee473fa 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c | |||
@@ -12,7 +12,6 @@ | |||
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/initrd.h> | 13 | #include <linux/initrd.h> |
14 | #include <linux/memblock.h> | 14 | #include <linux/memblock.h> |
15 | #include <linux/module.h> | ||
16 | #include <linux/of.h> | 15 | #include <linux/of.h> |
17 | #include <linux/of_fdt.h> | 16 | #include <linux/of_fdt.h> |
18 | #include <linux/of_reserved_mem.h> | 17 | #include <linux/of_reserved_mem.h> |
@@ -22,10 +21,6 @@ | |||
22 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
23 | 22 | ||
24 | #include <asm/setup.h> /* for COMMAND_LINE_SIZE */ | 23 | #include <asm/setup.h> /* for COMMAND_LINE_SIZE */ |
25 | #ifdef CONFIG_PPC | ||
26 | #include <asm/machdep.h> | ||
27 | #endif /* CONFIG_PPC */ | ||
28 | |||
29 | #include <asm/page.h> | 24 | #include <asm/page.h> |
30 | 25 | ||
31 | char *of_fdt_get_string(struct boot_param_header *blob, u32 offset) | 26 | char *of_fdt_get_string(struct boot_param_header *blob, u32 offset) |