diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-05-01 09:40:15 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-07-21 00:02:16 -0400 |
commit | 27410ee7e391ce650d6d0242805f080599be7ad7 (patch) | |
tree | ca1a99eb74e56504be7d2bf34fecf11271f361b5 /drivers/mmc/core/host.c | |
parent | 7d17baa05da6a2e64ee15011cdf4319bd3e0ff61 (diff) |
mmc: core: use a more generic name for slot function types and fields
struct mmc_host::hotplug is becoming a generic hook for slot functions.
Rename it accordingly.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/host.c')
-rw-r--r-- | drivers/mmc/core/host.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 91c84c7a1829..b8c5290571f1 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c | |||
@@ -327,6 +327,8 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev) | |||
327 | 327 | ||
328 | mmc_host_clk_init(host); | 328 | mmc_host_clk_init(host); |
329 | 329 | ||
330 | host->slot.cd_irq = -EINVAL; | ||
331 | |||
330 | spin_lock_init(&host->lock); | 332 | spin_lock_init(&host->lock); |
331 | init_waitqueue_head(&host->wq); | 333 | init_waitqueue_head(&host->wq); |
332 | INIT_DELAYED_WORK(&host->detect, mmc_rescan); | 334 | INIT_DELAYED_WORK(&host->detect, mmc_rescan); |