diff options
Diffstat (limited to 'drivers/mmc/ftsdc021_sdhci.c')
-rw-r--r-- | drivers/mmc/ftsdc021_sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/ftsdc021_sdhci.c b/drivers/mmc/ftsdc021_sdhci.c index 1f6cdba..6e9fefa 100644 --- a/drivers/mmc/ftsdc021_sdhci.c +++ b/drivers/mmc/ftsdc021_sdhci.c @@ -21,7 +21,7 @@ int ftsdc021_sdhci_init(u32 regbase) host = calloc(1, sizeof(struct sdhci_host)); if (!host) { puts("sdh_host malloc fail!\n"); - return 1; + return -ENOMEM; } host->name = "FTSDC021"; |