]> err.no Git - linux-2.6/blobdiff - drivers/mmc/mmc.c
[PATCH] zd1201: workaround interference problem
[linux-2.6] / drivers / mmc / mmc.c
index 6201f3086a0226d1810aab52067d0a33e22206fe..33525bdf2ab617fb4e5cd861f9d38a5d82dcde63 100644 (file)
@@ -9,7 +9,6 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
@@ -129,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)
 {
-       DECLARE_COMPLETION(complete);
+       DECLARE_COMPLETION_ONSTACK(complete);
 
        mrq->done_data = &complete;
        mrq->done = mmc_wait_done;