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:
6489f8d
)
xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
author
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 5 Oct 2021 18:36:01 +0000
(11:36 -0700)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 5 Oct 2021 19:19:05 +0000
(12:19 -0700)
Use platform data to initialize xtfpga device drivers when CONFIG_USE_OF
is not selected. This fixes xtfpga networking when CONFIG_USE_OF is not
selected but CONFIG_OF is.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/platforms/xtfpga/setup.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/platforms/xtfpga/setup.c
b/arch/xtensa/platforms/xtfpga/setup.c
index
4f7d614
..
59b7f11
100644
(file)
--- a/
arch/xtensa/platforms/xtfpga/setup.c
+++ b/
arch/xtensa/platforms/xtfpga/setup.c
@@
-66,7
+66,7
@@
void __init platform_calibrate_ccount(void)
#endif
-#ifdef CONFIG_OF
+#ifdef CONFIG_
USE_
OF
static void __init xtfpga_clk_setup(struct device_node *np)
{
@@
-284,4
+284,4
@@
static int __init xtavnet_init(void)
*/
arch_initcall(xtavnet_init);
-#endif /* CONFIG_OF */
+#endif /* CONFIG_
USE_
OF */