mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue