diff options
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.h')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h index 0aadcb402764..7bf675c23a5e 100644 --- a/drivers/usb/renesas_usbhs/common.h +++ b/drivers/usb/renesas_usbhs/common.h | |||
@@ -204,6 +204,10 @@ void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data); | |||
204 | void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data); | 204 | void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data); |
205 | 205 | ||
206 | int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev); | 206 | int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev); |
207 | |||
208 | #define usbhs_lock(p, f) spin_lock_irqsave(usbhs_priv_to_lock(p), f) | ||
209 | #define usbhs_unlock(p, f) spin_unlock_irqrestore(usbhs_priv_to_lock(p), f) | ||
210 | |||
207 | /* | 211 | /* |
208 | * sysconfig | 212 | * sysconfig |
209 | */ | 213 | */ |