summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/mmc.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-08-19 09:41:24 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-08-19 09:41:24 +0100
commit00b137cfda5276b3d2c87d44236fe4c5ee68b405 (patch)
tree2ecf68ba041d4cb94be9bf6b5e640a94ee0974a2 /drivers/mmc/mmc.h
parentd366b6436386875b1310ce8f70e3f9dea4647bac (diff)
downloadlinux-00b137cfda5276b3d2c87d44236fe4c5ee68b405.tar.gz
linux-00b137cfda5276b3d2c87d44236fe4c5ee68b405.tar.bz2
linux-00b137cfda5276b3d2c87d44236fe4c5ee68b405.zip
[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.h5
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 @@
void mmc_init_card(struct mmc_card *card, struct mmc_host *host);
int mmc_register_card(struct mmc_card *card);
void mmc_remove_card(struct mmc_card *card);
+
+struct mmc_host *mmc_alloc_host_sysfs(int extra, struct device *dev);
+int mmc_add_host_sysfs(struct mmc_host *host);
+void mmc_remove_host_sysfs(struct mmc_host *host);
+void mmc_free_host_sysfs(struct mmc_host *host);
#endif