[PATCH] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Tony Prisk
Compiling with !CONFIG_PM generates an unused function warning on unlink_empty_async_suspended(). Enclose the function and its forward declaration in a #ifdef CONFIG_PM Signed-off-by: Tony Prisk --- drivers/usb/host/ehci-q.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Tony Prisk
Compiling with !CONFIG_PM generates an unused function warning on unlink_empty_async_suspended(). Enclose the function and its forward declaration in a #ifdef CONFIG_PM Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/ehci-q.c |3 ++- 1 file changed, 2 insertions(+), 1