Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 370751
b: refs/heads/master
c: 342ea00
h: refs/heads/master
i:
  370749: 32b41b1
  370747: fd57a51
  370743: 39185d3
  370735: 2622a3f
  370719: 8a2ae1e
  370687: 14862cc
v: v3
  • Loading branch information
Wei Yongjun authored and Michael Ellerman committed Apr 18, 2013
1 parent 2bf9a10 commit 526e445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 8040bda31ab229e931d872a51c89ddeae4012b00
refs/heads/master: 342ea00f457281660e120c3c6049df0ae2adc778
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/include/asm/parport.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ static int parport_pc_find_nonpci_ports (int autoirq, int autodma)
int count = 0;
int virq;

for (np = NULL; (np = of_find_compatible_node(np,
"parallel",
"pnpPNP,400")) != NULL;) {
for_each_compatible_node(np, "parallel", "pnpPNP,400") {
prop = of_get_property(np, "reg", &propsize);
if (!prop || propsize > 6*sizeof(u32))
continue;
Expand Down

0 comments on commit 526e445

Please sign in to comment.