|
@@ -128,7 +128,7 @@ static void mmc_wait_done(struct mmc_request *mrq)
|
|
|
|
|
|
int mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq)
|
|
int mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq)
|
|
{
|
|
{
|
|
- DECLARE_COMPLETION(complete);
|
|
|
|
|
|
+ DECLARE_COMPLETION_ONSTACK(complete);
|
|
|
|
|
|
mrq->done_data = &complete;
|
|
mrq->done_data = &complete;
|
|
mrq->done = mmc_wait_done;
|
|
mrq->done = mmc_wait_done;
|