usb: dwc3: move dwc3 device ID bitmap to core.c
authorFelipe Balbi <balbi@ti.com>
Tue, 18 Oct 2011 10:54:01 +0000 (13:54 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:48:21 +0000 (11:48 +0200)
commit8300dd236e957429acfb36be0ce8fe276dbe823c
treea8ed42c6ed57f396b49f807eb6bef4abbcfc8c3f
parent8ee6270c7f0aeba07355eee82d687efcd8ca9d39
usb: dwc3: move dwc3 device ID bitmap to core.c

if we want to support situations where we have
both SoC and PCIe versions of the IP on the same
platform, we need to have sequential numbers between
them, otherwise we will still have name collisions.

Because of that, we need to move dwc3_get/put_device_id()
to core.c and export that symbol to be used by glue
layers.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/dwc3-pci.c