|
@@ -678,7 +678,6 @@ static int __devinit mmci_probe(struct amba_device *dev, struct amba_id *id)
|
|
|
writel(0, host->base + MMCIMASK1);
|
|
|
writel(0xfff, host->base + MMCICLEAR);
|
|
|
|
|
|
-#ifdef CONFIG_GPIOLIB
|
|
|
if (gpio_is_valid(plat->gpio_cd)) {
|
|
|
ret = gpio_request(plat->gpio_cd, DRIVER_NAME " (cd)");
|
|
|
if (ret == 0)
|
|
@@ -697,7 +696,6 @@ static int __devinit mmci_probe(struct amba_device *dev, struct amba_id *id)
|
|
|
else if (ret != -ENOSYS)
|
|
|
goto err_gpio_wp;
|
|
|
}
|
|
|
-#endif
|
|
|
|
|
|
ret = request_irq(dev->irq[0], mmci_irq, IRQF_SHARED, DRIVER_NAME " (cmd)", host);
|
|
|
if (ret)
|