forked from luck/tmp_suning_uos_patched
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:
parent
9cceedb8a8
commit
10c966c310
@ -2191,7 +2191,7 @@ static int musb_resume_early(struct platform_device *pdev)
|
||||
|
||||
#else
|
||||
#define musb_suspend NULL
|
||||
#define musb_resume NULL
|
||||
#define musb_resume_early NULL
|
||||
#endif
|
||||
|
||||
static struct platform_driver musb_driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user