Skip to content

Commit

Permalink
USB: musb: fix musb_platform_set_mode() definition
Browse files Browse the repository at this point in the history
Update function definition to match latest MUSB framework.

Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bryan Wu authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent 9720fae commit 2002e76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/musb/blackfin.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,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)
Expand Down

0 comments on commit 2002e76

Please sign in to comment.