Skip to content

Commit

Permalink
USB: ehci-platform: remove update_device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hauke Mehrtens authored and Greg Kroah-Hartman committed May 18, 2012
1 parent f06b9f3 commit 8377c94
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/usb/host/ehci-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 8377c94

Please sign in to comment.