Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218978
b: refs/heads/master
c: 63be54c
h: refs/heads/master
v: v3
  • Loading branch information
Andy Shevchenko authored and Chris Ball committed Oct 23, 2010
1 parent bc94426 commit ff180e0
Show file tree
Hide file tree
Showing 2 changed files with 2 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: c8c8c1bdbe585d9159c4585216451faa4c35e4ec
refs/heads/master: 63be54cefa3ae58e1e82036945e3c27f941f5a0d
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/card/mmc_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ static int mmc_test_probe(struct mmc_card *card)
{
int ret;

if ((card->type != MMC_TYPE_MMC) && (card->type != MMC_TYPE_SD))
if (!mmc_card_mmc(card) && !mmc_card_sd(card))
return -ENODEV;

ret = device_create_file(&card->dev, &dev_attr_test);
Expand Down

0 comments on commit ff180e0

Please sign in to comment.