diff options
Diffstat (limited to 'drivers/mmc/mmc.c')
-rw-r--r-- | drivers/mmc/mmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 346e6478e0..c0aa683a4d 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -32,6 +32,7 @@ #include <linux/list.h> #include <mmc.h> #include <div64.h> +#include <asm-generic/errno.h> static struct list_head mmc_devices; static int cur_dev_num = -1; @@ -879,7 +880,7 @@ int mmc_init(struct mmc *mmc) if (err) { printf("Card did not respond to voltage select!\n"); - return UNUSABLE_ERR; + return ENODEV; } } |