Re: [PATCH] USB: Mark ehci_adjust_port_wakeup_flags as __maybe_unused

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

 



On Tue, Apr 12, 2011 at 09:31:54AM -0300, Fabio Estevam wrote:
> Mark ehci_adjust_port_wakeup_flags as __maybe_unused to avoid the following 
> warning when building the ehci-mxc driver:
> 
>   CC      drivers/usb/host/ehci-hcd.o
> drivers/usb/host/ehci-hub.c:130: warning: 'ehci_adjust_port_wakeup_flags' defined but not used
> 
> Current ehci-mxc driver implementation does not support suspend/resume.

Why not fix that instead?

curious,

greg k-h
--
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