projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
911c94d
)
memory: omap-gpmc: remove unneeded asm/mach-types.h inclusion
author
Krzysztof Kozlowski
<krzk@kernel.org>
Fri, 24 Jul 2020 07:40:10 +0000
(09:40 +0200)
committer
Krzysztof 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
patch
|
blob
|
history
diff --git
a/drivers/memory/omap-gpmc.c
b/drivers/memory/omap-gpmc.c
index
f512cbc
..
06685ba
100644
(file)
--- 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 */