summaryrefslogtreecommitdiffstats
path: root/drivers/memory/omap-gpmc.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-07-24 09:40:10 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-17 20:43:29 +0200
commit8e9ffd5ed368c267edaf4e585e7d3813cc76cf7c (patch)
tree0f5cac925ad07d24dc5657eb09201cdaff41ba4d /drivers/memory/omap-gpmc.c
parentmemory: samsung: exynos5422-dmc: Document mutex scope (diff)
downloadlinux-8e9ffd5ed368c267edaf4e585e7d3813cc76cf7c.tar.xz
linux-8e9ffd5ed368c267edaf4e585e7d3813cc76cf7c.zip
memory: omap-gpmc: remove unneeded asm/mach-types.h inclusion
The driver does not use macros from asm/mach-types.h (neither MACH_TYPE nor machine_is_xxx()). Removal of this include allows compile testing on non-ARM architectures which lack this header. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200724074038.5597-2-krzk@kernel.org
Diffstat (limited to 'drivers/memory/omap-gpmc.c')
-rw-r--r--drivers/memory/omap-gpmc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index f512cbc7a36c..06685ba290f1 100644
--- a/drivers/memory/omap-gpmc.c
+++ b/drivers/memory/omap-gpmc.c
@@ -33,8 +33,6 @@
#include <linux/platform_data/mtd-nand-omap2.h>
-#include <asm/mach-types.h>
-
#define DEVICE_NAME "omap-gpmc"
/* GPMC register offsets */