It's not used and doesn't work anyway, MMC irq code can't
access host because it's claimed by this driver.
if (rc)
goto err2;
+#if 0
rc = sdio_claim_irq(func, tiwlan_sdio_irq);
if (rc)
goto err1;
-
+#endif
SDIO_SetFunc( func );
rc = tiwlan_create_drv(0, 0, 0, 0, 0, PANDORA_WIFI_IRQ, NULL, NULL);
printk(KERN_INFO "TIWLAN: Driver initialized (rc %d)\n", rc);
complete(&sdio_wait);
return rc;
+#if 0
err1:
+#endif
sdio_disable_func(func);
err2:
sdio_release_host(func);
static void tiwlan_sdio_remove(struct sdio_func *func)
{
printk(KERN_DEBUG "TIWLAN: Releasing SDIO resources\n");
+#if 0
sdio_release_irq(func);
+#endif
sdio_disable_func(func);
sdio_release_host(func);
printk(KERN_DEBUG "TIWLAN: SDIO resources released\n");