diff options
Diffstat (limited to 'include/linux/mmc/card.h')
-rw-r--r-- | include/linux/mmc/card.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 1ca50542ce19..7d98990ac94e 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
@@ -61,7 +61,6 @@ struct mmc_host; | |||
61 | * MMC device | 61 | * MMC device |
62 | */ | 62 | */ |
63 | struct mmc_card { | 63 | struct mmc_card { |
64 | struct list_head node; /* node in hosts devices list */ | ||
65 | struct mmc_host *host; /* the host this device belongs to */ | 64 | struct mmc_host *host; /* the host this device belongs to */ |
66 | struct device dev; /* the device */ | 65 | struct device dev; /* the device */ |
67 | unsigned int rca; /* relative card address of device */ | 66 | unsigned int rca; /* relative card address of device */ |
@@ -123,11 +122,4 @@ struct mmc_driver { | |||
123 | extern int mmc_register_driver(struct mmc_driver *); | 122 | extern int mmc_register_driver(struct mmc_driver *); |
124 | extern void mmc_unregister_driver(struct mmc_driver *); | 123 | extern void mmc_unregister_driver(struct mmc_driver *); |
125 | 124 | ||
126 | static inline int mmc_card_claim_host(struct mmc_card *card) | ||
127 | { | ||
128 | return __mmc_claim_host(card->host, card); | ||
129 | } | ||
130 | |||
131 | #define mmc_card_release_host(c) mmc_release_host((c)->host) | ||
132 | |||
133 | #endif | 125 | #endif |