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>
1 parent 8478536 commit a2a05df5c5c45dce786b23d22700befddd0439ea
@Sascha Hauer Sascha Hauer authored on 21 Nov 2019
Showing 4 changed files
View
drivers/usb/otg/Kconfig
View
drivers/usb/otg/Makefile
View
drivers/usb/otg/otgdev.c 0 → 100644
View
include/usb/usb.h