OSDN Git Service

USB: ehci-platform: remove update_device
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 18 May 2012 18:29:56 +0000 (20:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 May 2012 23:37:55 +0000 (16:37 -0700)
The update_device callback is not needed and the function used here is
from the pci ehci driver. Without this patch we get a compile error if
ehci-platform is compiled without ehci-pci.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: stable <stable@vger.kernel.org> [3.4]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-platform.c

index 23c530a..dfe881a 100644 (file)
@@ -75,8 +75,6 @@ static const struct hc_driver ehci_platform_hc_driver = {
        .relinquish_port        = ehci_relinquish_port,
        .port_handed_over       = ehci_port_handed_over,
 
-       .update_device          = ehci_update_device,
-
        .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete,
 };