diff options
Diffstat (limited to 'include/asm-sparc64/oplib.h')
-rw-r--r-- | include/asm-sparc64/oplib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-sparc64/oplib.h b/include/asm-sparc64/oplib.h index c754676e13ef..a68b0bb05958 100644 --- a/include/asm-sparc64/oplib.h +++ b/include/asm-sparc64/oplib.h | |||
@@ -9,7 +9,6 @@ | |||
9 | #ifndef __SPARC64_OPLIB_H | 9 | #ifndef __SPARC64_OPLIB_H |
10 | #define __SPARC64_OPLIB_H | 10 | #define __SPARC64_OPLIB_H |
11 | 11 | ||
12 | #include <linux/config.h> | ||
13 | #include <asm/openprom.h> | 12 | #include <asm/openprom.h> |
14 | 13 | ||
15 | /* OBP version string. */ | 14 | /* OBP version string. */ |
@@ -324,8 +323,9 @@ extern int prom_pathtoinode(const char *path); | |||
324 | extern int prom_inst2pkg(int); | 323 | extern int prom_inst2pkg(int); |
325 | 324 | ||
326 | /* CPU probing helpers. */ | 325 | /* CPU probing helpers. */ |
327 | int cpu_find_by_instance(int instance, int *prom_node, int *mid); | 326 | struct device_node; |
328 | int cpu_find_by_mid(int mid, int *prom_node); | 327 | int cpu_find_by_instance(int instance, struct device_node **dev_node, int *mid); |
328 | int cpu_find_by_mid(int mid, struct device_node **prom_node); | ||
329 | 329 | ||
330 | /* Client interface level routines. */ | 330 | /* Client interface level routines. */ |
331 | extern void prom_set_trap_table(unsigned long tba); | 331 | extern void prom_set_trap_table(unsigned long tba); |