Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228914
b: refs/heads/master
c: 1a2727e
h: refs/heads/master
v: v3
  • Loading branch information
Viresh Kumar authored and Chris Ball committed Jan 9, 2011
1 parent cb20b1b commit 3b6aca0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: b37427b0a4e01ab5aaec1c9af7cef616ac4ce6d6
refs/heads/master: 1a2727e98786136fb968b18d96f8ecdd9ba38aa8
8 changes: 4 additions & 4 deletions trunk/drivers/mmc/core/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,14 @@ int mmc_add_card(struct mmc_card *card)
type, card->rca);
}

ret = device_add(&card->dev);
if (ret)
return ret;

#ifdef CONFIG_DEBUG_FS
mmc_add_card_debugfs(card);
#endif

ret = device_add(&card->dev);
if (ret)
return ret;

mmc_card_set_present(card);

return 0;
Expand Down

0 comments on commit 3b6aca0

Please sign in to comment.