diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2011-06-03 19:50:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-06 16:28:02 -0700 |
commit | cb42447374eb4348b75ec677bf9c77958c7d10e0 (patch) | |
tree | 7a2fdfcefa833df0cd37cbc9cb1bade72775f7f8 /drivers/usb/gadget/pxa25x_udc.c | |
parent | b38b03b363a53067e8b8f3f43f00b6428bd5319c (diff) | |
download | op-kernel-dev-cb42447374eb4348b75ec677bf9c77958c7d10e0.zip op-kernel-dev-cb42447374eb4348b75ec677bf9c77958c7d10e0.tar.gz |
usb/mv_udc_core: fix compile
|drivers/usb/gadget/mv_udc_core.c:2108: error: label `error' used but not defined
This seems to be broken since the initial commit. I changed this to a
simple return. The other user is the probe code which lets ->probe()
fail on error here.
|drivers/usb/gadget/mv_udc_core.c:2107: warning: passing argument 1 of `dev_err' from incompatible pointer type
|drivers/usb/gadget/mv_udc_core.c:2118: warning: initialization from incompatible pointer type
|drivers/usb/gadget/mv_udc_core.c:2119: warning: initialization from incompatible pointer type
|drivers/usb/gadget/mv_udc_core.c:2130: error: initializer element is not constant
|drivers/usb/gadget/mv_udc_core.c:2130: error: (near initialization for `udc_driver.driver.pm')
Cc: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/pxa25x_udc.c')
0 files changed, 0 insertions, 0 deletions