diff options
Diffstat (limited to 'arch/mips/netlogic/common/irq.c')
-rw-r--r-- | arch/mips/netlogic/common/irq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/netlogic/common/irq.c b/arch/mips/netlogic/common/irq.c index f4961bc9a61d..cf33dd8a487e 100644 --- a/arch/mips/netlogic/common/irq.c +++ b/arch/mips/netlogic/common/irq.c | |||
@@ -291,7 +291,7 @@ static int __init xlp_of_pic_init(struct device_node *node, | |||
291 | /* we need a hack to get the PIC's SoC chip id */ | 291 | /* we need a hack to get the PIC's SoC chip id */ |
292 | ret = of_address_to_resource(node, 0, &res); | 292 | ret = of_address_to_resource(node, 0, &res); |
293 | if (ret < 0) { | 293 | if (ret < 0) { |
294 | pr_err("PIC %s: reg property not found!\n", node->name); | 294 | pr_err("PIC %pOFn: reg property not found!\n", node); |
295 | return -EINVAL; | 295 | return -EINVAL; |
296 | } | 296 | } |
297 | 297 | ||
@@ -304,21 +304,21 @@ static int __init xlp_of_pic_init(struct device_node *node, | |||
304 | break; | 304 | break; |
305 | } | 305 | } |
306 | if (socid == NLM_NR_NODES) { | 306 | if (socid == NLM_NR_NODES) { |
307 | pr_err("PIC %s: Node mapping for bus %d not found!\n", | 307 | pr_err("PIC %pOFn: Node mapping for bus %d not found!\n", |
308 | node->name, bus); | 308 | node, bus); |
309 | return -EINVAL; | 309 | return -EINVAL; |
310 | } | 310 | } |
311 | } else { | 311 | } else { |
312 | socid = (res.start >> 18) & 0x3; | 312 | socid = (res.start >> 18) & 0x3; |
313 | if (!nlm_node_present(socid)) { | 313 | if (!nlm_node_present(socid)) { |
314 | pr_err("PIC %s: node %d does not exist!\n", | 314 | pr_err("PIC %pOFn: node %d does not exist!\n", |
315 | node->name, socid); | 315 | node, socid); |
316 | return -EINVAL; | 316 | return -EINVAL; |
317 | } | 317 | } |
318 | } | 318 | } |
319 | 319 | ||
320 | if (!nlm_node_present(socid)) { | 320 | if (!nlm_node_present(socid)) { |
321 | pr_err("PIC %s: node %d does not exist!\n", node->name, socid); | 321 | pr_err("PIC %pOFn: node %d does not exist!\n", node, socid); |
322 | return -EINVAL; | 322 | return -EINVAL; |
323 | } | 323 | } |
324 | 324 | ||
@@ -326,7 +326,7 @@ static int __init xlp_of_pic_init(struct device_node *node, | |||
326 | nlm_irq_to_xirq(socid, PIC_IRQ_BASE), PIC_IRQ_BASE, | 326 | nlm_irq_to_xirq(socid, PIC_IRQ_BASE), PIC_IRQ_BASE, |
327 | &xlp_pic_irq_domain_ops, NULL); | 327 | &xlp_pic_irq_domain_ops, NULL); |
328 | if (xlp_pic_domain == NULL) { | 328 | if (xlp_pic_domain == NULL) { |
329 | pr_err("PIC %s: Creating legacy domain failed!\n", node->name); | 329 | pr_err("PIC %pOFn: Creating legacy domain failed!\n", node); |
330 | return -EINVAL; | 330 | return -EINVAL; |
331 | } | 331 | } |
332 | pr_info("Node %d: IRQ domain created for PIC@%pR\n", socid, &res); | 332 | pr_info("Node %d: IRQ domain created for PIC@%pR\n", socid, &res); |