Skip to content

Commit

Permalink
USB: musb: fix build when !CONFIG_PM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Beregalov authored and Greg Kroah-Hartman committed Apr 23, 2009
1 parent 9cceedb commit 10c966c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/musb/musb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 10c966c

Please sign in to comment.