summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/blackfin.c
diff options
context:
space:
mode:
authorMaulik Mankad <x0082077@ti.com>2010-03-12 10:29:07 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:32 -0700
commitde2e1b0c988c901989713869a8bea3b3d02bb9ce (patch)
tree7e94a92044e19651bedbc9ffb2f23ff0b345b12d /drivers/usb/musb/blackfin.c
parente6c213b2968cbee4cfb8f89f2d685b9ad07eefbd (diff)
downloadlinux-3.10-de2e1b0c988c901989713869a8bea3b3d02bb9ce.tar.gz
linux-3.10-de2e1b0c988c901989713869a8bea3b3d02bb9ce.tar.bz2
linux-3.10-de2e1b0c988c901989713869a8bea3b3d02bb9ce.zip
usb: musb: Set transceiver interface type
Program the OTG_INTERFSEL register based on transcevier type passed from board file. Adapt signature of musb_platform_init() function for davinci, blackfin and tusb6010. Signed-off-by: Maulik Mankad <x0082077@ti.com> Cc: David Brownell <david-b@pacbell.net> Cc: Sergei Shtylyov <sshtylyov@mvista.com> Cc: Olof Johansson <olof@lixom.net> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/blackfin.c')
-rw-r--r--drivers/usb/musb/blackfin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c
index ec8d324237f..7c71eb422a9 100644
--- a/drivers/usb/musb/blackfin.c
+++ b/drivers/usb/musb/blackfin.c
@@ -270,7 +270,7 @@ int musb_platform_set_mode(struct musb *musb, u8 musb_mode)
return -EIO;
}
-int __init musb_platform_init(struct musb *musb)
+int __init musb_platform_init(struct musb *musb, void *board_data)
{
/*