Files
android_kernel_xiaomi_sm8450/drivers/tty/serial
Paul Bolle b51e3f5ad5 sprd_serial: compile sprd_suspend and sprd_resume conditionally
Building sprd_serial.o when CONFIG_PM_SLEEP is not defined triggers
these warnings:
    drivers/tty/serial/sprd_serial.c:755:12: warning: ‘sprd_suspend’ defined but not used [-Wunused-function]
     static int sprd_suspend(struct device *dev)
                ^
    drivers/tty/serial/sprd_serial.c:764:12: warning: ‘sprd_resume’ defined but not used [-Wunused-function]
     static int sprd_resume(struct device *dev)
                ^

Let's compile these functions only when CONFIG_PM_SLEEP is defined.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-07 03:13:07 +01:00
..
2014-11-25 17:06:39 -08:00
2015-03-07 03:13:07 +01:00
2015-02-07 18:43:16 +08:00
2013-07-31 17:56:15 -07:00
2015-02-02 10:11:28 -08:00
2014-06-19 13:04:52 -07:00
2014-06-19 13:04:52 -07:00
2014-06-19 13:04:52 -07:00