lkml.org 
[lkml]   [2012]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[ 48/91] USB: ehci-platform: remove update_device
    3.4-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Hauke Mehrtens <hauke@hauke-m.de>

    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 | 2 --
    1 file changed, 2 deletions(-)

    --- a/drivers/usb/host/ehci-platform.c
    +++ b/drivers/usb/host/ehci-platform.c
    @@ -75,8 +75,6 @@ static const struct hc_driver ehci_platf
    .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,
    };




    \
     
     \ /
      Last update: 2012-05-27 04:42    [W:4.098 / U:0.556 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site