]> git.baikalelectronics.ru Git - kernel.git/commit
USB: musb: fix Blackfin ulpi stubs
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 Jun 2010 17:37:08 +0000 (23:07 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 15:16:07 +0000 (08:16 -0700)
commitba4fc3bb45989c2ad7560b183a7f9668fd286912
tree34175a04758dc4f5b8f64ae694597f6f04917209
parenta8bd291b304ff4b55b40b5ef05e23d0ae2d6dc2f
USB: musb: fix Blackfin ulpi stubs

The new ulpi code defines fallback stubs for the Blackfin arch, but does
so incorrectly leading to a build failure:
drivers/usb/musb/musb_core.c:227: error: 'musb_ulpi_read' undeclared here (not in a function)
drivers/usb/musb/musb_core.c:228: error: 'musb_ulpi_write' undeclared here (not in a function)

Tweak the fallback stubs so that they do work as intended.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c