diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-24 11:25:48 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 10:44:59 +0100 |
commit | b4fcea2a71cafc59a749fa3ef88e51af8c2e3b37 (patch) | |
tree | ef0ab84ad857413cb35e3633dda19538e3841934 /drivers/usb/renesas_usbhs/common.h | |
parent | usb: gadget: renesas_usbhs: add platform power control function (diff) | |
download | linux-b4fcea2a71cafc59a749fa3ef88e51af8c2e3b37.tar.xz linux-b4fcea2a71cafc59a749fa3ef88e51af8c2e3b37.zip |
usb: gadget: renesas_usbhs: unified callback function
renesas_usbhs needs callback for notify hotplug.
but it were 2 methods which are almost same.
This patch unified these into one.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.h')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h index 3199d3799045..e255015072a6 100644 --- a/drivers/usb/renesas_usbhs/common.h +++ b/drivers/usb/renesas_usbhs/common.h @@ -275,8 +275,6 @@ u16 usbhs_read(struct usbhs_priv *priv, u32 reg); void usbhs_write(struct usbhs_priv *priv, u32 reg, u16 data); void usbhs_bset(struct usbhs_priv *priv, u32 reg, u16 mask, u16 data); -int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev); - #define usbhs_lock(p, f) spin_lock_irqsave(usbhs_priv_to_lock(p), f) #define usbhs_unlock(p, f) spin_unlock_irqrestore(usbhs_priv_to_lock(p), f) |