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
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
2 matches
Mail list logo