Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347262
b: refs/heads/master
c: 90e3bc7
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Chris Zankel committed Dec 19, 2012
1 parent 6f5bae5 commit 9a9aa07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 5584b4da7814af7d35a72d904140bf9c2a502d4e
refs/heads/master: 90e3bc798bec8b33ba4300a7751b627b54b3bb5b
4 changes: 2 additions & 2 deletions trunk/arch/xtensa/platforms/xtfpga/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ static void __init update_clock_frequency(struct device_node *node)

static int __init machine_setup(void)
{
struct device_node *serial = NULL;
struct device_node *serial;

while ((serial = of_find_compatible_node(serial, NULL, "ns16550a")))
for_each_compatible_node(serial, NULL, "ns16550a")
update_clock_frequency(serial);
return 0;
}
Expand Down

0 comments on commit 9a9aa07

Please sign in to comment.