From: Oliver Neukum <oneukum@xxxxxxx> Define usb_lock_port and usb_unlock_port in all cases Signed-off-by: Oliver Neukum <oneukum@xxxxxxx> --- drivers/usb/core/hub.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 28d1218..68d077e 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -3849,6 +3849,8 @@ EXPORT_SYMBOL_GPL(usb_unlocked_enable_lpm); #define hub_suspend NULL #define hub_resume NULL #define hub_reset_resume NULL +#define usb_lock_port NULL +#define usb_unlock_port NULL int usb_disable_lpm(struct usb_device *udev) { -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html