summaryrefslogtreecommitdiffstats
path: root/drivers/tty/moxa.h
diff options
context:
space:
mode:
authorMika Westerberg2014-01-16 13:55:57 +0100
committerGreg Kroah-Hartman2014-02-13 18:57:33 +0100
commit13b949f03e642c5df36ebf5b4770d75f8c4a6b09 (patch)
treea304584353816295a4e02077b2efdc8c94ba7fc3 /drivers/tty/moxa.h
parentserial: omap-serial: Move info message to probe function (diff)
downloadkernel-qcow2-linux-13b949f03e642c5df36ebf5b4770d75f8c4a6b09.tar.gz
kernel-qcow2-linux-13b949f03e642c5df36ebf5b4770d75f8c4a6b09.tar.xz
kernel-qcow2-linux-13b949f03e642c5df36ebf5b4770d75f8c4a6b09.zip
serial: 8250_dw: fix compilation warning when !CONFIG_PM_SLEEP
CONFIG_PM will be set if either or both CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME is set. Compiling the driver with !CONFIG_PM_SLEEP causes following compilation warnings: drivers/tty/serial/8250/8250_dw.c:404:12: warning: ‘dw8250_suspend’ defined but not used [-Wunused-function] drivers/tty/serial/8250/8250_dw.c:413:12: warning: ‘dw8250_resume’ defined but not used [-Wunused-function] Fix this by using CONFIG_PM_SLEEP instead. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/moxa.h')
0 files changed, 0 insertions, 0 deletions