]> git.baikalelectronics.ru Git - kernel.git/commit
usb: storage: fix build warnings !CONFIG_PM
authorLuis Henriques <luis.henriques@canonical.com>
Wed, 1 Oct 2014 23:10:57 +0000 (00:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:26:16 +0000 (15:26 -0800)
commitf15639d582ee6942b38d93bcf584ab6499352ca6
tree9d9e171ef8bda599c9e94a60c588c86e6529b20d
parent9dafa6d1c52b92fbbd34ab9aa9d8f8b37a13ba3e
usb: storage: fix build warnings !CONFIG_PM

Functions fw5895_init() and config_autodelink_before_power_down() are used
only when CONFIG_PM is defined.

drivers/usb/storage/realtek_cr.c:699:13: warning: 'fw5895_init' defined but not used [-Wunused-function]
drivers/usb/storage/realtek_cr.c:629:12: warning: 'config_autodelink_before_power_down' defined but not used [-Wunused-function]

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/realtek_cr.c