Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89f836a8 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Felipe Balbi
Browse files

usb: musb: Remove usb_disable() check in module_init()



Removing the check to usb_disable() before registering the platform
driver allows to build this driver when !USB && USB_GADGET, to be
used in gadget-only mode.

Also, use module_platform_driver() to register the platform driver.

Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 4685d021
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment