[RFC: -mm patch] #if 0 mmc_deselect_cards()

From: Adrian Bunk
Date: Wed Mar 07 2007 - 17:42:18 EST


On Tue, Mar 06, 2007 at 12:44:08AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-rc2-mm1:
>...
> git-mmc.patch
>...
> git trees
>...

mmc_deselect_cards() is no longer used.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

drivers/mmc/core/mmc_ops.c | 2 ++
drivers/mmc/core/mmc_ops.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.21-rc2-mm2/drivers/mmc/core/mmc_ops.h.old 2007-03-07 00:55:48.000000000 +0100
+++ linux-2.6.21-rc2-mm2/drivers/mmc/core/mmc_ops.h 2007-03-07 00:55:54.000000000 +0100
@@ -13,7 +13,6 @@
#define _MMC_MMC_OPS_H

int mmc_select_card(struct mmc_card *card);
-int mmc_deselect_cards(struct mmc_host *host);
int mmc_go_idle(struct mmc_host *host);
int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr);
int mmc_all_send_cid(struct mmc_host *host, u32 *cid);
--- linux-2.6.21-rc2-mm2/drivers/mmc/core/mmc_ops.c.old 2007-03-07 00:56:00.000000000 +0100
+++ linux-2.6.21-rc2-mm2/drivers/mmc/core/mmc_ops.c 2007-03-07 00:56:22.000000000 +0100
@@ -53,10 +53,12 @@
return _mmc_select_card(card->host, card);
}

+#if 0
int mmc_deselect_cards(struct mmc_host *host)
{
return _mmc_select_card(host, NULL);
}
+#endif /* 0 */

int mmc_go_idle(struct mmc_host *host)
{

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/