hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/sparc/include/asm/prom.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #include <linux/of.h> /* linux/of.h gets to determine #include ordering */
23 #ifndef _SPARC_PROM_H
34 #define _SPARC_PROM_H
....@@ -11,11 +12,6 @@
1112 *
1213 * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp.
1314 * Updates for SPARC by David S. Miller
14
- *
15
- * This program is free software; you can redistribute it and/or
16
- * modify it under the terms of the GNU General Public License
17
- * as published by the Free Software Foundation; either version
18
- * 2 of the License, or (at your option) any later version.
1915 */
2016 #include <linux/types.h>
2117 #include <linux/of_pdt.h>
....@@ -23,9 +19,6 @@
2319 #include <linux/mutex.h>
2420 #include <linux/atomic.h>
2521 #include <linux/irqdomain.h>
26
-
27
-#define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 2
28
-#define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1
2922
3023 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l))
3124 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2))