aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc/host.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 /include/linux/mmc/host.h
parentd366b6436386875b1310ce8f70e3f9dea4647bac (diff)
downloadkernel_samsung_tuna-00b137cfda5276b3d2c87d44236fe4c5ee68b405.zip
kernel_samsung_tuna-00b137cfda5276b3d2c87d44236fe4c5ee68b405.tar.gz
kernel_samsung_tuna-00b137cfda5276b3d2c87d44236fe4c5ee68b405.tar.bz2
[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 'include/linux/mmc/host.h')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 3078623..a74a810 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -63,6 +63,7 @@ struct device;
struct mmc_host {
struct device *dev;
+ struct class_device class_dev;
struct mmc_host_ops *ops;
unsigned int f_min;
unsigned int f_max;