summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-05-18 20:29:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-19 01:37:55 +0200
commit8377c94f627f7943da9a7eefdb21fd2e9e7ec629 (patch)
treebd05bd88a90757a165c33dc780c05849d9980afe /drivers/usb
parentMerge tag 'for-usb-next-2012-05-18' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadlinux-8377c94f627f7943da9a7eefdb21fd2e9e7ec629.tar.xz
linux-8377c94f627f7943da9a7eefdb21fd2e9e7ec629.zip
USB: ehci-platform: remove update_device
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-platform.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index 23c530ae5aa3..dfe881a34ae2 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,
};