Signed-off-by: Andrew Morton --- drivers/usb/core/hub.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff -puN drivers/usb/core/hub.c~gregkh-usb-always-announce-new-usb-devices drivers/usb/core/hub.c --- a/drivers/usb/core/hub.c~gregkh-usb-always-announce-new-usb-devices +++ a/drivers/usb/core/hub.c @@ -1288,7 +1288,6 @@ static int choose_configuration(struct u return i; } -#ifdef DEBUG static void show_string(struct usb_device *udev, char *id, char *string) { if (!string) @@ -1296,10 +1295,6 @@ static void show_string(struct usb_devic dev_printk(KERN_INFO, &udev->dev, "%s: %s\n", id, string); } -#else -static inline void show_string(struct usb_device *udev, char *id, char *string) -{} -#endif #ifdef CONFIG_USB_OTG @@ -1344,7 +1339,10 @@ int usb_new_device(struct usb_device *ud udev->serial = usb_cache_string(udev, udev->descriptor.iSerialNumber); /* Tell the world! */ - dev_dbg(&udev->dev, "new device strings: Mfr=%d, Product=%d, " + dev_info(&udev->dev, "new device found, idVendor=%04x, idProduct=%04x\n", + le16_to_cpu(udev->descriptor.idVendor), + le16_to_cpu(udev->descriptor.idProduct)); + dev_info(&udev->dev, "new device strings: Mfr=%d, Product=%d, " "SerialNumber=%d\n", udev->descriptor.iManufacturer, udev->descriptor.iProduct, _