Re: [PATCH 1/1] usb: xhci: Staticize xhci_del_comp_mod_timer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch looks good.  I've applied it and will send it to Greg
shortly.

Sarah Sharp

On Mon, Sep 16, 2013 at 12:01:34PM +0530, Sachin Kamat wrote:
> 'xhci_del_comp_mod_timer' is local to this file.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> ---
>  drivers/usb/host/xhci-hub.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c
> index fae697e..2b61700 100644
> --- a/drivers/usb/host/xhci-hub.c
> +++ b/drivers/usb/host/xhci-hub.c
> @@ -524,7 +524,8 @@ static void xhci_hub_report_usb3_link_state(u32 *status, u32 status_reg)
>   * the compliance mode timer is deleted. A port won't enter
>   * compliance mode if it has previously entered U0.
>   */
> -void xhci_del_comp_mod_timer(struct xhci_hcd *xhci, u32 status, u16 wIndex)
> +static void xhci_del_comp_mod_timer(struct xhci_hcd *xhci, u32 status,
> +				    u16 wIndex)
>  {
>  	u32 all_ports_seen_u0 = ((1 << xhci->num_usb3_ports)-1);
>  	bool port_in_u0 = ((status & PORT_PLS_MASK) == XDEV_U0);
> -- 
> 1.7.9.5
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux