]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: ci13xxx: convert to platform device
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Tue, 8 May 2012 20:29:01 +0000 (23:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 21:54:12 +0000 (14:54 -0700)
commita9dafee6d1c895c8c53b529cc3889f503ae8241a
tree157a76f428ecb7878a9d04e6ad3a26c298977e9c
parent5ae0c6dc113ee3580e4142a67eb53cd1439757c6
usb: gadget: ci13xxx: convert to platform device

Let's break ci13xxx driver into a separate udc driver and platform
drivers _pci and _msm, which will create a platform device for each pci
(or msm) device found. The approach was introduced by Felipe in dwc3
driver and there seems to be no reason not to use it.

msm related code is only compile-tested.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Makefile
drivers/usb/gadget/ci13xxx_msm.c
drivers/usb/gadget/ci13xxx_pci.c
drivers/usb/gadget/ci13xxx_udc.c
drivers/usb/gadget/ci13xxx_udc.h