Commit:     cc3000e4ef13fa9f388f5a37f11c0fa3cc68112b
Parent:     84c46a53fc4ea4ff36df783a20187b2f65dd21cc
Author:     Nicolas Pitre <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 6 23:12:46 2007 -0500
Committer:  Pierre Ossman <[EMAIL PROTECTED]>
CommitDate: Wed Dec 12 20:01:01 2007 +0100

    mmc: remove unused 'mode' from the mmc_host structure
    This field and corresponding defines are simply never used anywhere
    in the code.  But its mere presence is enough to confuse some host
    driver authors who attempt to rely on it.  Let's eliminate the
    possibility for confusion and remove it entirely.
    Signed-off-by: Nicolas Pitre <[EMAIL PROTECTED]>
    Signed-off-by: Pierre Ossman <[EMAIL PROTECTED]>
 include/linux/mmc/host.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 125eee1..7ab962f 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -118,10 +118,6 @@ struct mmc_host {
        unsigned int            removed:1;      /* host is being removed */
-       unsigned int            mode;           /* current card mode of host */
-#define MMC_MODE_MMC           0
-#define MMC_MODE_SD            1
        struct mmc_card         *card;          /* device attached to this host 
        wait_queue_head_t       wq;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to