Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102186
b: refs/heads/master
c: 0121a98
h: refs/heads/master
v: v3
  • Loading branch information
Pierre Ossman committed Jul 15, 2008
1 parent a556a35 commit 9a24e73
Show file tree
Hide file tree
Showing 2 changed files with 5 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: eea0f581c4e596e02250df230f8d385827977964
refs/heads/master: 0121a9829bf28c65e1a05cc881899c10d82b8de2
5 changes: 4 additions & 1 deletion trunk/drivers/mmc/card/mmc_test.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* linux/drivers/mmc/card/mmc_test.c
*
* Copyright 2007 Pierre Ossman
* Copyright 2007-2008 Pierre Ossman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -858,6 +858,9 @@ static int mmc_test_probe(struct mmc_card *card)
{
int ret;

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

mutex_init(&mmc_test_lock);

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

0 comments on commit 9a24e73

Please sign in to comment.