From: Mike Frysinger on
From: Bryan Wu <cooloney(a)>

Update function definition to match latest MUSB framework.

Signed-off-by: Bryan Wu <cooloney(a)>
Signed-off-by: Cliff Cai <cliff.cai(a)>
Signed-off-by: Mike Frysinger <vapier(a)>
drivers/usb/musb/blackfin.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c
index bbee5f6..db099e2 100644
--- a/drivers/usb/musb/blackfin.c
+++ b/drivers/usb/musb/blackfin.c
@@ -227,8 +227,9 @@ int musb_platform_get_vbus_status(struct musb *musb)
return 0;

-void musb_platform_set_mode(struct musb *musb, u8 musb_mode)
+int musb_platform_set_mode(struct musb *musb, u8 musb_mode)
+ return -EIO;

int __init musb_platform_init(struct musb *musb)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at