memory: omap-gpmc: remove unneeded asm/mach-types.h inclusion
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 24 Jul 2020 07:40:10 +0000 (09:40 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Aug 2020 18:43:29 +0000 (20:43 +0200)
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
drivers/memory/omap-gpmc.c

index f512cbc7a36c5e8047ba3041f99c3ffe02a53ff5..06685ba290f1370b735fff026d91e1aa05f13195 100644 (file)
@@ -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 */