diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/s3cmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index b9c96cc87b04..2fdf7689ae6c 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c | |||
@@ -1179,7 +1179,7 @@ static int s3cmci_card_present(struct mmc_host *mmc) | |||
1179 | struct s3c24xx_mci_pdata *pdata = host->pdata; | 1179 | struct s3c24xx_mci_pdata *pdata = host->pdata; |
1180 | int ret; | 1180 | int ret; |
1181 | 1181 | ||
1182 | if (pdata->gpio_detect == 0) | 1182 | if (pdata->no_detect) |
1183 | return -ENOSYS; | 1183 | return -ENOSYS; |
1184 | 1184 | ||
1185 | ret = gpio_get_value(pdata->gpio_detect) ? 0 : 1; | 1185 | ret = gpio_get_value(pdata->gpio_detect) ? 0 : 1; |