aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/prom.h3
-rw-r--r--arch/sparc/kernel/prom_32.c4
-rw-r--r--arch/sparc/kernel/prom_common.c4
3 files changed, 6 insertions, 5 deletions
diff --git a/arch/sparc/kernel/prom.h b/arch/sparc/kernel/prom.h
index 0764b354b52c..bb0f0fda6cab 100644
--- a/arch/sparc/kernel/prom.h
+++ b/arch/sparc/kernel/prom.h
@@ -8,10 +8,7 @@ extern struct device_node *allnodes; /* temporary while merging */
8extern rwlock_t devtree_lock; /* temporary while merging */ 8extern rwlock_t devtree_lock; /* temporary while merging */
9 9
10extern void * prom_early_alloc(unsigned long size); 10extern void * prom_early_alloc(unsigned long size);
11
12#ifdef CONFIG_SPARC64
13extern void irq_trans_init(struct device_node *dp); 11extern void irq_trans_init(struct device_node *dp);
14#endif
15 12
16extern unsigned int prom_unique_id; 13extern unsigned int prom_unique_id;
17 14
diff --git a/arch/sparc/kernel/prom_32.c b/arch/sparc/kernel/prom_32.c
index f21e8fc9a8fb..fe43e80772db 100644
--- a/arch/sparc/kernel/prom_32.c
+++ b/arch/sparc/kernel/prom_32.c
@@ -289,3 +289,7 @@ void __init of_console_init(void)
289void __init of_fill_in_cpu_data(void) 289void __init of_fill_in_cpu_data(void)
290{ 290{
291} 291}
292
293void __init irq_trans_init(struct device_node *dp)
294{
295}
diff --git a/arch/sparc/kernel/prom_common.c b/arch/sparc/kernel/prom_common.c
index 2736f3d74c7f..4e9af593db49 100644
--- a/arch/sparc/kernel/prom_common.c
+++ b/arch/sparc/kernel/prom_common.c
@@ -243,10 +243,10 @@ static struct device_node * __init prom_create_node(phandle node,
243 dp->type = get_one_property(node, "device_type"); 243 dp->type = get_one_property(node, "device_type");
244 dp->node = node; 244 dp->node = node;
245 245
246 /* Build interrupts later... */
247
248 dp->properties = build_prop_list(node); 246 dp->properties = build_prop_list(node);
249 247
248 irq_trans_init(dp);
249
250 return dp; 250 return dp;
251} 251}
252 252