diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-08-19 09:41:24 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-08-19 09:41:24 +0100 |
commit | 00b137cfda5276b3d2c87d44236fe4c5ee68b405 (patch) | |
tree | 2ecf68ba041d4cb94be9bf6b5e640a94ee0974a2 /include/linux/mmc | |
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 'include/linux/mmc')
-rw-r--r-- | include/linux/mmc/host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 307862308596..a74a810a1302 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; |