Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333297
b: refs/heads/master
c: 5f07809
h: refs/heads/master
i:
  333295: 87b12da
v: v3
  • Loading branch information
Arnd Bergmann committed Oct 7, 2012
1 parent df32435 commit 0d394a9
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: 5063557ac0e83a52182fd0d49e83cc770e52ccd1
refs/heads/master: 5f07809e93b4c05516d85a3f2770b1a77115eb70
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-rpc/ecard.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,9 @@ static int __init ecard_probe(int slot, unsigned irq, card_type_t type)
*ecp = ec;
slot_to_expcard[slot] = ec;

device_register(&ec->dev);
rc = device_register(&ec->dev);
if (rc)
goto nodev;

return 0;

Expand Down

0 comments on commit 0d394a9

Please sign in to comment.