]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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, 1 Jun 2012 07:18:21 +0000 (15:18 +0800)
commit 8377c94f627f7943da9a7eefdb21fd2e9e7ec629 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-platform.c

index d238b4e24bb6dd7e87c37482736b7b7fe8e40b0f..82c1eb8b18d1bfd4d4995d29b1c51958b5b0c30e 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,
 };