hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/arch/powerpc/platforms/85xx/common.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Routines common to most mpc85xx-based boards.
3
- *
4
- * This is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #include <linux/of_irq.h>
....@@ -89,29 +86,6 @@
8986 #endif
9087
9188 #ifdef CONFIG_QUICC_ENGINE
92
-void __init mpc85xx_qe_init(void)
93
-{
94
- struct device_node *np;
95
-
96
- np = of_find_compatible_node(NULL, NULL, "fsl,qe");
97
- if (!np) {
98
- np = of_find_node_by_name(NULL, "qe");
99
- if (!np) {
100
- pr_err("%s: Could not find Quicc Engine node\n",
101
- __func__);
102
- return;
103
- }
104
- }
105
-
106
- if (!of_device_is_available(np)) {
107
- of_node_put(np);
108
- return;
109
- }
110
-
111
- of_node_put(np);
112
-
113
-}
114
-
11589 void __init mpc85xx_qe_par_io_init(void)
11690 {
11791 struct device_node *np;