From: Alan Stern Date: Wed, 10 Oct 2012 19:07:39 +0000 (-0400) Subject: USB: EHCI: make ehci_read_frame_index platform independent X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acc08503406f97ce6582c92fd8c8139f1e871a96;p=pandora-kernel.git USB: EHCI: make ehci_read_frame_index platform independent In preparation for splitting the ehci-hcd driver into a core library and separate platform-specific driver modules, this patch (as1617) changes the way ehci_read_frame_index() is handled. Since the same core library will have to work with both PCI and non-PCI platforms, the quirk handler routine will be compiled unconditionally. The decision about whether to call it or simply to read the frame index register is made at run time, based on whether the frame_index_bug quirk flag is set. Signed-off-by: Alan Stern Acked-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed