USB: s3c_hsotg: define USB_GADGET_DUALSPEED in Kconfig
authorMaurus Cuelenaere <mcuelenaere@gmail.com>
Tue, 25 May 2010 04:36:49 +0000 (05:36 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:16:19 +0000 (13:16 -0700)
commit0287e43dda1a425da662f879dd27352021b0ca63
tree0e437cbf0c41eaecbaa84de1bb77b625aeb4dba4
parent390b166138e95a47bdfde6582a1935f65e5c6547
USB: s3c_hsotg: define USB_GADGET_DUALSPEED in Kconfig

The s3c_hsotg driver sets usb_gadget->is_dualspeed to 1, yet it doesn't define
USB_GADGET_DUALSPEED in Kconfig. This triggers a NULL pointer dereference in
the composite driver (which is fixed in another patch).

Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/Kconfig