recently,I am porting the kernel to am335x-evm on the sdk7.0
I want to porting a USB gadget driver,so I configure the kernel as:
<*> Support for Host-side USB
[ ] USB verbose debug messages
[*] USB announce new devices
*** Miscellaneous USB options ***
[*] Enable USB persist by default
[ ] Dynamic USB minor allocation
[*] OTG support
[ ] Rely on OTG Targeted Peripherals List
[ ] Disable external hubs
<*> USB Monitor
< > Support WUSB Cable Based Association (CBA)
*** USB Host Controller Drivers ***
< > Cypress C67x00 HCD support
< > xHCI HCD (USB 3.0) support
< > EHCI HCD (USB 2.0) support
< > OXU210HP HCD support
< > ISP116X HCD support
< > ISP 1760 HCD support
< > ISP1362 HCD support
< > FUSBH200 HCD support
< > FOTG210 HCD support
< > OHCI HCD (USB 1.1) support
< > UHCI HCD (most Intel and VIA) support
< > SL811HS HCD support
< > R8A66597 HCD support
[ ] HCD test mode support
<*> Inventra Highspeed Dual Role Controller (TI, ADI, ...)
MUSB Mode Selection (Dual Role mode) --->
<*> Platform Glue Layer (TI DSPS platforms) --->
<*> Enable support for AM335x devices
MUSB DMA mode (Disable DMA (always use PIO)) --->
...
<*> USB Mass Storage support
...
<*> USB Gadget Support --->
But when the kernel start,It print
Error:Driver 'am335x-usb-childs' is already registered aborting...
eveytime I add the option "<*> Enable support for AM335x devices",it print
Error:Driver 'am335x-usb-childs' is already registered aborting...
But I need this option to support my usb gadget driver.