OSDN Git Service

usb: musb: am335x: fix pdev resource bug
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Tue, 3 Jul 2012 12:07:10 +0000 (17:37 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 3 Aug 2012 06:30:43 +0000 (09:30 +0300)
commit3bb5534853dbb1e445a9b26ecab8ad331ff14a7e
treebe0a70228dd89909eba0342a86634de711dc8c22
parent1f3f7eceff47f9e320ca67b3e9f16fb295106514
usb: musb: am335x: fix pdev resource bug

We are overwriting the resource->name to "mc" so that musb_core.c
can understand it but this is also changing the platform device's
resource->name as the "name" address remains same.

Fixing the same by changing the resource->name field of local
structure only.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c