Compiling with !CONFIG_PM generates an unused function warning on
unlink_empty_async_suspended().
Enclose the function in a #ifdef CONFIG_PM
Signed-off-by: Tony Prisk
Acked-by: Alan Stern
---
v2:
Tidy up blank line as requested by Alan Stern
drivers/usb/host/ehci-q.c |2 ++
1 file changed,
On Wed, 27 Mar 2013, Tony Prisk wrote:
> Compiling with !CONFIG_PM generates an unused function warning on
> unlink_empty_async_suspended().
>
> Enclose the function in a #ifdef CONFIG_PM
>
> Signed-off-by: Tony Prisk
> ---
> Fixed up the commit message.
> drivers/usb/host/ehci-q.c |3 ++-
Compiling with !CONFIG_PM generates an unused function warning on
unlink_empty_async_suspended().
Enclose the function in a #ifdef CONFIG_PM
Signed-off-by: Tony Prisk
---
Fixed up the commit message.
drivers/usb/host/ehci-q.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --gi
3 matches
Mail list logo