projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06c2afb
)
ARM: keystone: Drop unused includes
author
Rob Herring
<robh@kernel.org>
Mon, 17 Jul 2023 22:56:09 +0000
(16:56 -0600)
committer
Nishanth Menon
<nm@ti.com>
Tue, 25 Jul 2023 11:27:25 +0000
(06:27 -0500)
Several includes are not needed, so drop them.
of_platform.h is not needed, but it implicitly includes platform_device.h
(for now) which is needed.
Signed-off-by: Rob Herring <robh@kernel.org>
Link:
https://lore.kernel.org/r/20230717225610.3214029-1-robh@kernel.org
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-keystone/keystone.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-keystone/keystone.c
b/arch/arm/mach-keystone/keystone.c
index 68039aad3014e26972ed07ebc43ebb7e6709f3b7..e0ca26182e0bdc7bc8742e3ffa36c83cfae9e840 100644
(file)
--- a/
arch/arm/mach-keystone/keystone.c
+++ b/
arch/arm/mach-keystone/keystone.c
@@
-7,12
+7,10
@@
* Santosh Shilimkar <santosh.shillimkar@ti.com>
*/
#include <linux/io.h>
-#include <linux/of.h>
#include <linux/dma-map-ops.h>
#include <linux/init.h>
-#include <linux/of_platform.h>
-#include <linux/of_address.h>
#include <linux/memblock.h>
+#include <linux/platform_device.h>
#include <asm/setup.h>
#include <asm/mach/map.h>