USB: UHCI: Allow dynamic assignment of bus specific functions
authorJan Andersson <jan@gaisler.com>
Fri, 6 May 2011 10:00:13 +0000 (12:00 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 7 May 2011 01:23:59 +0000 (18:23 -0700)
commite7652e1ebc0f5e07929067ece14ca869dad20dd6
treecbdca7e57d94be0be8fcee5f6f412eec937188ef
parentdfeca7a8750296a7d065d45257b3cd86aadc3fb9
USB: UHCI: Allow dynamic assignment of bus specific functions

This patch is part of a series that extend the UHCI HCD to support
non-PCI controllers.

This patch changes calls to uhci_reset_hc, uhci_check_and_reset_hc,
configure_hc, resume_detect_interrupts_are_broken and
global_suspend_mode_is_broken so that they are made through pointers
in the uhci hcd struct. This will allow these functions to be replaced
with bus/arch specific functions.

Signed-off-by: Jan Andersson <jan@gaisler.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-hcd.c
drivers/usb/host/uhci-hcd.h