diff options
author | Felipe Balbi <balbi@ti.com> | 2011-11-24 08:42:10 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 06:07:03 -0500 |
commit | e7f4e73287d2915499c821b884f70f42187e2a74 (patch) | |
tree | 9f426e85a6099d902f4fc66b37d59aa5839f04e3 /drivers/usb/musb | |
parent | 712d8efafbbcbe617f9ad706f6ca1ffea4bbf2e8 (diff) |
usb: musb: omap2430: fix compile warning
fix the following compile warning:
drivers/usb/musb/omap2430.c: In function 'musb_otg_notifier_work':
drivers/usb/musb/omap2430.c:279:3: warning: 'return' with a value, in
function returning void
drivers/usb/musb/omap2430.c:282:2: warning: 'return' with a value, in
function returning void
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/omap2430.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index fd5dd46039ad..c24dc26b9be2 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c | |||
@@ -283,10 +283,7 @@ static void musb_otg_notifier_work(struct work_struct *data_notifier_work) | |||
283 | break; | 283 | break; |
284 | default: | 284 | default: |
285 | dev_dbg(musb->controller, "ID float\n"); | 285 | dev_dbg(musb->controller, "ID float\n"); |
286 | return NOTIFY_DONE; | ||
287 | } | 286 | } |
288 | |||
289 | return NOTIFY_OK; | ||
290 | } | 287 | } |
291 | 288 | ||
292 | static int omap2430_musb_init(struct musb *musb) | 289 | static int omap2430_musb_init(struct musb *musb) |