[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1396563423-30893-11-git-send-email-robherring2@gmail.com>
Date: Thu, 3 Apr 2014 17:16:53 -0500
From: Rob Herring <robherring2@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Grant Likely <grant.likely@...aro.org>,
Rob Herring <robh@...nel.org>
Subject: [PATCH 10/20] of/fdt: remove some unneeded includes
From: Rob Herring <robh@...nel.org>
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@...nel.org>
Cc: Grant Likely <grant.likely@...aro.org>
---
drivers/of/fdt.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 2085d47..0139b65 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -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>
@@ -23,10 +22,6 @@
#include <linux/debugfs.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)
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists