diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-12 11:00:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 17:52:00 -0500 |
commit | fcaf71fd51f9cfc504455d3e19ec242e4b2073ed (patch) | |
tree | 54b227d3092eff0bbc304cbf6169dcef36816a7f /drivers/mmc/mmc_queue.c | |
parent | 04880edae5e1027d61241beb5ac37b520755f2ab (diff) |
Driver core: convert mmc code to use struct device
Converts from using struct "class_device" to "struct device" making
everything show up properly in /sys/devices/ with symlinks from the
/sys/class directory.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mmc/mmc_queue.c')
-rw-r--r-- | drivers/mmc/mmc_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/mmc_queue.c b/drivers/mmc/mmc_queue.c index 4ccdd82b680f..61a1de85cb23 100644 --- a/drivers/mmc/mmc_queue.c +++ b/drivers/mmc/mmc_queue.c | |||
@@ -130,8 +130,8 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, spinlock_t *lock | |||
130 | u64 limit = BLK_BOUNCE_HIGH; | 130 | u64 limit = BLK_BOUNCE_HIGH; |
131 | int ret; | 131 | int ret; |
132 | 132 | ||
133 | if (host->dev->dma_mask && *host->dev->dma_mask) | 133 | if (mmc_dev(host)->dma_mask && *mmc_dev(host)->dma_mask) |
134 | limit = *host->dev->dma_mask; | 134 | limit = *mmc_dev(host)->dma_mask; |
135 | 135 | ||
136 | mq->card = card; | 136 | mq->card = card; |
137 | mq->queue = blk_init_queue(mmc_request, lock); | 137 | mq->queue = blk_init_queue(mmc_request, lock); |