Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326697
b: refs/heads/master
c: 82ce44d
h: refs/heads/master
i:
  326695: 00df506
v: v3
  • Loading branch information
Daniel Mack authored and Haojian Zhuang committed Aug 16, 2012
1 parent 643dce3 commit fdfc098
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 089d03629b04ebe8163905a2398742b426e35085
refs/heads/master: 82ce44d104dc97f4f7fbd035ca34f723f0fb7287
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-pxa/pxa3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/platform_device.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/syscore_ops.h>
#include <linux/i2c/pxa-i2c.h>

Expand Down Expand Up @@ -479,7 +480,8 @@ static int __init pxa3xx_init(void)
register_syscore_ops(&pxa3xx_mfp_syscore_ops);
register_syscore_ops(&pxa3xx_clock_syscore_ops);

ret = platform_add_devices(devices, ARRAY_SIZE(devices));
if (!of_have_populated_dt())
ret = platform_add_devices(devices, ARRAY_SIZE(devices));
}

return ret;
Expand Down

0 comments on commit fdfc098

Please sign in to comment.