summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-imx1.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-17 16:55:04 -0600
committerShawn Guo <shawnguo@kernel.org>2023-07-19 15:28:44 +0800
commit66ba9c05fc51d3357298dccf718ee83469978da8 (patch)
treef7442316fa7ba31016ed0137d3d5ee4e2cab9c46 /arch/arm/mach-imx/mach-imx1.c
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff)
ARM: imx: Drop unused includes
Several includes are not needed, so drop them. of_platform.h (for now) implicitly includes platform_device.h and of.h, so add explicit includes of those as needed. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx1.c')
-rw-r--r--arch/arm/mach-imx/mach-imx1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-imx/mach-imx1.c b/arch/arm/mach-imx/mach-imx1.c
index 8eca92d66a2e..a4688f575ffe 100644
--- a/arch/arm/mach-imx/mach-imx1.c
+++ b/arch/arm/mach-imx/mach-imx1.c
@@ -3,15 +3,11 @@
* Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
*/
-#include <linux/of_platform.h>
#include <asm/mach/arch.h>
-#include <asm/mach/map.h>
#include "common.h"
#include "hardware.h"
-#define MX1_AVIC_ADDR 0x00223000
-
static void __init imx1_init_early(void)
{
mxc_set_cpu_type(MXC_CPU_MX1);