diff options
Diffstat (limited to 'drivers/memory/atmel-ebi.c')
| -rw-r--r-- | drivers/memory/atmel-ebi.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/atmel-ebi.c b/drivers/memory/atmel-ebi.c index e749dcb3ddea..635966d705cb 100644 --- a/drivers/memory/atmel-ebi.c +++ b/drivers/memory/atmel-ebi.c @@ -598,7 +598,7 @@ static int atmel_ebi_probe(struct platform_device *pdev)  	reg_cells += val;  	for_each_available_child_of_node(np, child) { -		if (!of_find_property(child, "reg", NULL)) +		if (!of_property_present(child, "reg"))  			continue;  		ret = atmel_ebi_dev_setup(ebi, child, reg_cells);  |