summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-02-05 22:12:31 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-05 23:13:51 +0400
commitcdc8da3998dcc50cee2f81904c16ebdbd7ec2cee (patch)
treedc09b48a5fd54a3e78c3e93bfae2b0237c8062f5 /arch/sparc
parentb16ea4b04c3b74524805a409ee2747b751b7a138 (diff)
downloadlinux-cdc8da3998dcc50cee2f81904c16ebdbd7ec2cee.tar.xz
serial: imx: Move imx_port_ucrs_save/restore under CONFIG_CONSOLE_POLL
If CONFIG_CONSOLE_POLL is not defined, the following build warning happens: drivers/tty/serial/imx.c:274:13: warning: 'imx_port_ucrs_save' defined but not used [-Wunused-function] drivers/tty/serial/imx.c:283:13: warning: 'imx_port_ucrs_restore' defined but not used [-Wunused-function] Move imx_port_ucrs_saver/restore under CONFIG_CONSOLE_POLL ifdef block to fix it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions