OSDN Git Service

usb: dwc3: add a platform device alias
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 19 Oct 2011 17:39:50 +0000 (19:39 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:48:17 +0000 (11:48 +0200)
commit7ae4fc4dc835033067096639bd26416b3df744c7
tree00f94d40bdae0d72dbefd4baf56b3426e4e2421d
parent9cc9bcd5b3e8efa45accf2ccb59f13c8de85a0ce
usb: dwc3: add a platform device alias

We can have three modules here: dwc3.ko, dwc3-omap.ko and dwc3-pci.ko.
The later have already ids-aliases for probing and is fine. The omap
module has alias for DT but lacks alias for the "native"
platform_device. Maybe we should get rid of it and stick to the DT name?
Both glue modules create a new device for which the dwc3.ko module is
responsible and that one lacks the platform alias.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/dwc3-omap.c