diff options
Diffstat (limited to 'arch/powerpc/sysdev/mpic.c')
| -rw-r--r-- | arch/powerpc/sysdev/mpic.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index 4d48cecfedd1..b9aac951a90f 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c @@ -1249,7 +1249,7 @@ struct mpic * __init mpic_alloc(struct device_node *node,  	/* Pick the physical address from the device tree if unspecified */  	if (!phys_addr) {  		/* Check if it is DCR-based */ -		if (of_get_property(node, "dcr-reg", NULL)) { +		if (of_property_read_bool(node, "dcr-reg")) {  			flags |= MPIC_USES_DCR;  		} else {  			struct resource r; | 
