MarvellEmbeddedProcessors / linux-marvell

Marvell Linux kernel
Other
89 stars 67 forks source link

fix: usb: ehci-orion: don't compile PM functions without CONFIG_PM #14

Open gourvy opened 6 years ago

gourvy commented 6 years ago

This commit fixes the compilation when CONFIG_PM isn't enabled. Otherwise, ehci_suspend and ehci_resume functions are called but they are not defined -> implicit declaration of function 'ehci_suspend'