USB: musb: fix build when !CONFIG_PM
Fix this build error when CONFIG_PM is not set: drivers/usb/musb/musb_core.c:2232: error: 'musb_resume_early' undeclared here Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9cceedb8a8
commit
10c966c310
@@ -2191,7 +2191,7 @@ static int musb_resume_early(struct platform_device *pdev)
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
#define musb_suspend NULL
|
#define musb_suspend NULL
|
||||||
#define musb_resume NULL
|
#define musb_resume_early NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct platform_driver musb_driver = {
|
static struct platform_driver musb_driver = {
|
||||||
|
Reference in New Issue
Block a user