[PATCH] USB: misc: usb3503: add dt support

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Jan 25 09:03:03 EST 2013


On Thu, Jan 24, 2013 at 02:47:10AM +0900, Dongjin Kim wrote:
> Added device tree support for usb3503 driver and add new document with device tree binding information.
> 
> Signed-off-by: Dongjin Kim <tobetter at gmail.com>
> ---
>  Documentation/devicetree/bindings/usb/usb3503.txt |   20 +++++++++++++
>  drivers/usb/misc/usb3503.c                        |   31 +++++++++++++++++----
>  2 files changed, 46 insertions(+), 5 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/usb/usb3503.txt

I've applied this, but now we have the compiler warning:
drivers/usb/misc/usb3503.c: In function ‘usb3503_probe’:
drivers/usb/misc/usb3503.c:215:13: warning: ‘mode’ may be used uninitialized in this function [-Wuninitialized]

Please send a follow-on patch to fix this up.

greg k-h


More information about the devicetree-discuss mailing list