diff options
author | Bryan Wu <cooloney@kernel.org> | 2009-11-16 05:49:25 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 14:55:24 -0500 |
commit | 2002e7684dc24a9ac245b7d015380918657ec032 (patch) | |
tree | 0c871bdfcac8efc274fee5aaaedf79b592acdaa1 /drivers/usb/musb/blackfin.c | |
parent | 9720faec51127d35f8bf1bdf577de92728d5e91b (diff) |
USB: musb: fix musb_platform_set_mode() definition
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>
Diffstat (limited to 'drivers/usb/musb/blackfin.c')
-rw-r--r-- | 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 4fe7b5411a2b..fe4934d9602c 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c | |||
@@ -226,8 +226,9 @@ int musb_platform_get_vbus_status(struct musb *musb) | |||
226 | return 0; | 226 | return 0; |
227 | } | 227 | } |
228 | 228 | ||
229 | void musb_platform_set_mode(struct musb *musb, u8 musb_mode) | 229 | int musb_platform_set_mode(struct musb *musb, u8 musb_mode) |
230 | { | 230 | { |
231 | return -EIO; | ||
231 | } | 232 | } |
232 | 233 | ||
233 | int __init musb_platform_init(struct musb *musb) | 234 | int __init musb_platform_init(struct musb *musb) |