]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP34xx USB: fix compile breakage in TLL mode
authorPaul Walmsley <paul@pwsan.com>
Thu, 21 Feb 2008 00:12:18 +0000 (16:12 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Feb 2008 00:12:18 +0000 (16:12 -0800)
commit626d2da444fe75676b9f5ce992c8720fc9eeffc8
tree23c14bb7535813232545187884820f17d34dc757
parent2cf7bc8a039d6a6b4558c8c3a319ea15eccab60c
OMAP34xx USB: fix compile breakage in TLL mode

drivers/usb/host/ehci-omap.c in the git tree doesn't compile when
CONFIG_OMAP_EHCI_PHY_MODE is disabled; error message is enclosed below.
Fix the bug, and while there, rearrange the source code to reduce code
duplication and function size.

Also some minor modifications as per David Brownell's comments.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/host/ehci-omap.c
drivers/usb/host/ehci-omap.h