diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-05-18 20:29:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-01 15:18:21 +0800 |
commit | 54c6b536f2c7ebc77f74937c3f4789ef191aa479 (patch) | |
tree | 35b96eb0a2db99dd410c538e3dc3351afd33e217 | |
parent | 0053c7e96ee9a516e7e8499f6fc28c0d9c43d40c (diff) | |
download | lwn-54c6b536f2c7ebc77f74937c3f4789ef191aa479.tar.gz lwn-54c6b536f2c7ebc77f74937c3f4789ef191aa479.zip |
USB: ehci-platform: remove update_device
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>
-rw-r--r-- | drivers/usb/host/ehci-platform.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index d238b4e24bb6..82c1eb8b18d1 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c @@ -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, }; |