usb: ehci-omap: don't hard-code TLL channel count
authorKeshava Munegowda <keshava_mgowda@ti.com>
Sun, 21 Nov 2010 17:53:40 +0000 (23:23 +0530)
committerAnand Gadiyar <gadiyar@ti.com>
Tue, 30 Nov 2010 21:02:01 +0000 (02:32 +0530)
commitc072604115ab50d023eb5c33d4f3229400e441f4
treed4ab8ddd939386b0f236362671494cd243689114
parent6dba39e278b81665a838f37a75fe37b89f3ce610
usb: ehci-omap: don't hard-code TLL channel count

Make the TLL channel count a parameter instead of a hardcoded
value. This allows us to be flexible with future OMAP revisions
which could have a different number of channels.

Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
drivers/usb/host/ehci-omap.c