summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-04-28 16:41:14 +0900
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-29 17:24:34 -0700
commitbc57381e634782009b1cb2e86b18013699ada576 (patch)
tree2ff4b5937d810ef04aa1960745f06c4e0c99f939 /include/linux/usb
parent5ea68d541df200d10a373c06f945f98225c2486b (diff)
usb: renesas_usbhs: use delayed_work instead of work_struct
This delay is used to overjump debounce. And, this patch also move usbhsc_drvcllbck_notify_hotplug to global, because it will be called from other files. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/renesas_usbhs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h
index 66bbdd12d15..3a7f1d982dd 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -103,6 +103,13 @@ struct renesas_usbhs_driver_param {
* for BUSWAIT :: BWAIT
* */
int buswait_bwait;
+
+ /*
+ * option:
+ *
+ * delay time from notify_hotplug callback
+ */
+ int detection_delay;
};
/*