}
 
 #if defined(BCMPLATFORM_BUS)
-#if defined(BCMLXSDMMC)
 /* forward declarations */
 int brcmf_sdio_probe(struct device *dev);
 EXPORT_SYMBOL(brcmf_sdio_probe);
 int brcmf_sdio_remove(struct device *dev);
 EXPORT_SYMBOL(brcmf_sdio_remove);
 
-#else
-/* forward declarations */
-static int __devinit brcmf_sdio_probe(struct device *dev);
-static int __devexit brcmf_sdio_remove(struct device *dev);
-#endif                         /* BCMLXSDMMC */
-
-#ifndef BCMLXSDMMC
-static
-#endif                         /* BCMLXSDMMC */
 int brcmf_sdio_probe(struct device *dev)
 {
        struct bcmsdh_hc *sdhc = NULL;
        unsigned long regs = 0;
        struct brcmf_sdio *sdh = NULL;
-#if !defined(BCMLXSDMMC) && defined(BCMPLATFORM_BUS)
-       struct platform_device *pdev;
-       struct resource *r;
-#endif                         /* BCMLXSDMMC */
        int irq = 0;
        u32 vendevid;
        unsigned long irq_flags = 0;
 
-#if !defined(BCMLXSDMMC) && defined(BCMPLATFORM_BUS)
-       pdev = to_platform_device(dev);
-       r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-       irq = platform_get_irq(pdev, 0);
-       if (!r || irq == NO_IRQ)
-               return -ENXIO;
-#endif                         /* BCMLXSDMMC */
-
 #if defined(OOB_INTR_ONLY)
 #ifdef HW_OOB
        irq_flags =
        }
        sdhc->dev = (void *)dev;
 
-#ifdef BCMLXSDMMC
        sdh = brcmf_sdcard_attach((void *)0, (void **)®s, irq);
        if (!sdh) {
                SDLX_MSG(("%s: bcmsdh_attach failed\n", __func__));
                goto err;
        }
-#else
-       sdh = brcmf_sdcard_attach((void *)r->start, (void **)®s, irq);
-       if (!sdh) {
-               SDLX_MSG(("%s: bcmsdh_attach failed\n", __func__));
-               goto err;
-       }
-#endif                         /* BCMLXSDMMC */
+
        sdhc->sdh = sdh;
        sdhc->oob_irq = irq;
        sdhc->oob_flags = irq_flags;
        return -ENODEV;
 }
 
-#ifndef BCMLXSDMMC
-static
-#endif                         /* BCMLXSDMMC */
 int brcmf_sdio_remove(struct device *dev)
 {
        struct bcmsdh_hc *sdhc, *prev;
 
        /* release SDIO Host Controller info */
        kfree(sdhc);
-
-#if !defined(BCMLXSDMMC)
-       dev_set_drvdata(dev, NULL);
-#endif                         /* !defined(BCMLXSDMMC) */
-
        return 0;
 }
 #endif                         /* BCMPLATFORM_BUS */
 
                DHD_INFO(("CLKCTL: turned ON\n"));
 
 #if defined(DHD_DEBUG)
-               if (bus->alp_only == true) {
-#if !defined(BCMLXSDMMC)
-                       if (!SBSDIO_ALPONLY(clkctl)) {
-                               DHD_ERROR(("%s: HT Clock, when ALP Only\n",
-                                          __func__));
-                       }
-#endif                         /* !defined(BCMLXSDMMC) */
-               } else {
+               if (bus->alp_only != true) {
                        if (SBSDIO_ALPONLY(clkctl)) {
                                DHD_ERROR(("%s: HT Clock should be on.\n",
                                           __func__));