summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/renesas_usbhs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb/renesas_usbhs.h')
-rw-r--r--include/linux/usb/renesas_usbhs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h
index 565bca3aa44..66bbdd12d15 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -143,7 +143,7 @@ struct renesas_usbhs_platform_info {
({ \
struct renesas_usbhs_driver_callback *dc; \
dc = &(renesas_usbhs_get_info(pdev)->driver_callback); \
- if (dc) \
+ if (dc && dc->notify_hotplug) \
dc->notify_hotplug(pdev); \
})
#endif /* RENESAS_USB_H */