===================================================================
@@ -18,6 +18,7 @@
#include <linux/mmc/sdio_ids.h>
#include <linux/slab.h>
#include <linux/ssb/ssb.h>
+#include <linux/mmc/host.h>
#include "sdio.h"
#include "b43.h"
@@ -174,7 +175,11 @@ static void b43_sdio_remove(struct sdio_
{
struct b43_sdio *sdio = sdio_get_drvdata(func);
+ printk(KERN_INFO "b43-sdio: before ssb_bus_unregister, claimed is %d\n",
+ func->card->host->claimed);
ssb_bus_unregister(&sdio->ssb);
+ printk(KERN_INFO "b43-sdio: before sdio_disable_func, claimed is %d\n",
+ func->card->host->claimed);
sdio_disable_func(func);
kfree(sdio);
sdio_set_drvdata(func, NULL);