|
@@ -2050,6 +2050,7 @@ struct musb_pending_work {
|
|
struct list_head node;
|
|
struct list_head node;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM
|
|
/*
|
|
/*
|
|
* Called from musb_runtime_resume(), musb_resume(), and
|
|
* Called from musb_runtime_resume(), musb_resume(), and
|
|
* musb_queue_resume_work(). Callers must take musb->lock.
|
|
* musb_queue_resume_work(). Callers must take musb->lock.
|
|
@@ -2077,6 +2078,7 @@ static int musb_run_resume_work(struct musb *musb)
|
|
|
|
|
|
return error;
|
|
return error;
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
/*
|
|
/*
|
|
* Called to run work if device is active or else queue the work to happen
|
|
* Called to run work if device is active or else queue the work to happen
|