[RFT 01/23] memory: omap-gpmc: Remove unneeded asm/mach-types.h inclusion
Krzysztof Kozlowski
krzk at kernel.org
Thu Jul 23 03:37:22 EDT 2020
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.
Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
---
Please kindly test.
---
drivers/memory/omap-gpmc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c
index eff26c1b1394..fc08b5292932 100644
--- a/drivers/memory/omap-gpmc.c
+++ b/drivers/memory/omap-gpmc.c
@@ -32,8 +32,6 @@
#include <linux/platform_data/mtd-nand-omap2.h>
-#include <asm/mach-types.h>
-
#define DEVICE_NAME "omap-gpmc"
/* GPMC register offsets */
--
2.17.1
More information about the Linux-mediatek
mailing list