usb: Add function to register otg dev
We have two drivers in the tree which register an "otg" device to configure the host/peripheral switching. Before introducing a third driver create a common function for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/usb/otg/Kconfig |
---|
drivers/usb/otg/Makefile |
---|
drivers/usb/otg/otgdev.c 0 → 100644 |
---|
include/usb/usb.h |
---|