diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/mmc_block.c | 4 | ||||
-rw-r--r-- | drivers/mmc/mmc_sysfs.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c index b9837cc5b9ac..198561d21710 100644 --- a/drivers/mmc/mmc_block.c +++ b/drivers/mmc/mmc_block.c | |||
@@ -257,7 +257,7 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) | |||
257 | */ | 257 | */ |
258 | add_disk_randomness(req->rq_disk); | 258 | add_disk_randomness(req->rq_disk); |
259 | blkdev_dequeue_request(req); | 259 | blkdev_dequeue_request(req); |
260 | end_that_request_last(req); | 260 | end_that_request_last(req, 1); |
261 | } | 261 | } |
262 | spin_unlock_irq(&md->lock); | 262 | spin_unlock_irq(&md->lock); |
263 | } while (ret); | 263 | } while (ret); |
@@ -283,7 +283,7 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) | |||
283 | 283 | ||
284 | add_disk_randomness(req->rq_disk); | 284 | add_disk_randomness(req->rq_disk); |
285 | blkdev_dequeue_request(req); | 285 | blkdev_dequeue_request(req); |
286 | end_that_request_last(req); | 286 | end_that_request_last(req, 0); |
287 | spin_unlock_irq(&md->lock); | 287 | spin_unlock_irq(&md->lock); |
288 | 288 | ||
289 | return 0; | 289 | return 0; |
diff --git a/drivers/mmc/mmc_sysfs.c b/drivers/mmc/mmc_sysfs.c index 3f4a66ca9555..ec701667abfc 100644 --- a/drivers/mmc/mmc_sysfs.c +++ b/drivers/mmc/mmc_sysfs.c | |||
@@ -80,7 +80,7 @@ static int mmc_bus_match(struct device *dev, struct device_driver *drv) | |||
80 | } | 80 | } |
81 | 81 | ||
82 | static int | 82 | static int |
83 | mmc_bus_hotplug(struct device *dev, char **envp, int num_envp, char *buf, | 83 | mmc_bus_uevent(struct device *dev, char **envp, int num_envp, char *buf, |
84 | int buf_size) | 84 | int buf_size) |
85 | { | 85 | { |
86 | struct mmc_card *card = dev_to_mmc_card(dev); | 86 | struct mmc_card *card = dev_to_mmc_card(dev); |
@@ -140,7 +140,7 @@ static struct bus_type mmc_bus_type = { | |||
140 | .name = "mmc", | 140 | .name = "mmc", |
141 | .dev_attrs = mmc_dev_attrs, | 141 | .dev_attrs = mmc_dev_attrs, |
142 | .match = mmc_bus_match, | 142 | .match = mmc_bus_match, |
143 | .hotplug = mmc_bus_hotplug, | 143 | .uevent = mmc_bus_uevent, |
144 | .suspend = mmc_bus_suspend, | 144 | .suspend = mmc_bus_suspend, |
145 | .resume = mmc_bus_resume, | 145 | .resume = mmc_bus_resume, |
146 | }; | 146 | }; |