diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-04-28 03:41:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-29 20:24:34 -0400 |
commit | bc57381e634782009b1cb2e86b18013699ada576 (patch) | |
tree | 2ff4b5937d810ef04aa1960745f06c4e0c99f939 /include/linux/usb/renesas_usbhs.h | |
parent | 5ea68d541df200d10a373c06f945f98225c2486b (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/renesas_usbhs.h')
-rw-r--r-- | include/linux/usb/renesas_usbhs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h index 66bbdd12d153..3a7f1d982dd6 100644 --- a/include/linux/usb/renesas_usbhs.h +++ b/include/linux/usb/renesas_usbhs.h | |||
@@ -103,6 +103,13 @@ struct renesas_usbhs_driver_param { | |||
103 | * for BUSWAIT :: BWAIT | 103 | * for BUSWAIT :: BWAIT |
104 | * */ | 104 | * */ |
105 | int buswait_bwait; | 105 | int buswait_bwait; |
106 | |||
107 | /* | ||
108 | * option: | ||
109 | * | ||
110 | * delay time from notify_hotplug callback | ||
111 | */ | ||
112 | int detection_delay; | ||
106 | }; | 113 | }; |
107 | 114 | ||
108 | /* | 115 | /* |