From: Andrew Morton Cc: Greg KH Cc: Alan Stern Signed-off-by: Andrew Morton --- drivers/usb/core/hcd.h | 10 ++++++++++ 1 files changed, 10 insertions(+) diff -puN drivers/usb/core/hcd.h~gregkh-usb-usb-rename-hcd-hub_suspend-to-hcd-bus_suspend-config_pm-fix drivers/usb/core/hcd.h --- 25/drivers/usb/core/hcd.h~gregkh-usb-usb-rename-hcd-hub_suspend-to-hcd-bus_suspend-config_pm-fix 2005-10-24 05:34:27.000000000 -0600 +++ 25-akpm/drivers/usb/core/hcd.h 2005-10-24 05:36:39.000000000 -0600 @@ -378,6 +378,16 @@ extern int usb_find_interface_driver (st #ifdef CONFIG_PM extern int hcd_bus_suspend (struct usb_bus *bus); extern int hcd_bus_resume (struct usb_bus *bus); +#else +static inline int hcd_bus_suspend(struct usb_bus *bus) +{ + return 0; +} + +static inline int hcd_bus_resume (struct usb_bus *bus) +{ + return 0; +} #endif /* CONFIG_PM */ /* _