We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee70d49 commit 487dc7bCopy full SHA for 487dc7b
drivers/clk/sifive/fu540-prci.h
@@ -13,9 +13,4 @@
13
14
extern struct __prci_clock __prci_init_clocks_fu540[NUM_CLOCK_FU540];
15
16
-static const struct prci_clk_desc prci_clk_fu540 = {
17
- .clks = __prci_init_clocks_fu540,
18
- .num_clks = ARRAY_SIZE(__prci_init_clocks_fu540),
19
-};
20
-
21
#endif /* __SIFIVE_CLK_FU540_PRCI_H */
drivers/clk/sifive/sifive-prci.c
@@ -12,6 +12,11 @@
12
#include "fu540-prci.h"
#include "fu740-prci.h"
+static const struct prci_clk_desc prci_clk_fu540 = {
+ .clks = __prci_init_clocks_fu540,
+ .num_clks = ARRAY_SIZE(__prci_init_clocks_fu540),
+};
+
/*
* Private functions
22
*/
0 commit comments