diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-08-19 04:41:24 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-08-19 04:41:24 -0400 |
commit | 00b137cfda5276b3d2c87d44236fe4c5ee68b405 (patch) | |
tree | 2ecf68ba041d4cb94be9bf6b5e640a94ee0974a2 /drivers/mmc/mmc.h | |
parent | d366b6436386875b1310ce8f70e3f9dea4647bac (diff) |
[MMC] Add MMC class devices
Create a mmc_host class to allow enumeration of MMC host controllers
even though they have no card(s) inserted.
Patch based on work by Pierre Ossman.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/mmc.h')
-rw-r--r-- | drivers/mmc/mmc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/mmc.h b/drivers/mmc/mmc.h index b498dffe0b11..97bae00292fa 100644 --- a/drivers/mmc/mmc.h +++ b/drivers/mmc/mmc.h | |||
@@ -13,4 +13,9 @@ | |||
13 | void mmc_init_card(struct mmc_card *card, struct mmc_host *host); | 13 | void mmc_init_card(struct mmc_card *card, struct mmc_host *host); |
14 | int mmc_register_card(struct mmc_card *card); | 14 | int mmc_register_card(struct mmc_card *card); |
15 | void mmc_remove_card(struct mmc_card *card); | 15 | void mmc_remove_card(struct mmc_card *card); |
16 | |||
17 | struct mmc_host *mmc_alloc_host_sysfs(int extra, struct device *dev); | ||
18 | int mmc_add_host_sysfs(struct mmc_host *host); | ||
19 | void mmc_remove_host_sysfs(struct mmc_host *host); | ||
20 | void mmc_free_host_sysfs(struct mmc_host *host); | ||
16 | #endif | 21 | #endif |