summaryrefslogtreecommitdiffstats
path: root/drivers/usb/renesas_usbhs/common.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-10-24 02:25:48 -0700
committerFelipe Balbi <balbi@ti.com>2011-12-12 11:44:59 +0200
commitb4fcea2a71cafc59a749fa3ef88e51af8c2e3b37 (patch)
treeef0ab84ad857413cb35e3633dda19538e3841934 /drivers/usb/renesas_usbhs/common.h
parentf1ee56a0004c4a5974e7a69665330b6ff818bf92 (diff)
downloadop-kernel-dev-b4fcea2a71cafc59a749fa3ef88e51af8c2e3b37.zip
op-kernel-dev-b4fcea2a71cafc59a749fa3ef88e51af8c2e3b37.tar.gz
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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h
index 3199d37..e255015 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)
OpenPOWER on IntegriCloud