summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-11-12 15:55:07 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-25 17:06:39 -0800
commit93d94b37fd044674e4e495bed82a45c38bde865a (patch)
tree7f76adb95e578572509fce7c5c7be3f65b7da673 /Kconfig
parentb725680f4818e1244449f2db2e9892b26784ed16 (diff)
downloadlinux-stable-93d94b37fd044674e4e495bed82a45c38bde865a.tar.gz
linux-stable-93d94b37fd044674e4e495bed82a45c38bde865a.tar.bz2
linux-stable-93d94b37fd044674e4e495bed82a45c38bde865a.zip
serial: imx: Fix warning when building 'allmodconfig'
When CONFIG_SERIAL_IMX_CONSOLE=n and CONFIG_CONSOLE_POLL=y we get the following build warning: drivers/tty/serial/imx.c:306:13: warning: 'imx_port_ucrs_save' defined but not used [-Wunused-function] drivers/tty/serial/imx.c:315:13: warning: 'imx_port_ucrs_restore' defined but not used [-Wunused-function] imx_port_ucrs_save/restore are only used under CONFIG_SERIAL_IMX_CONSOLE, so their definitions should be also be protected only by CONFIG_SERIAL_IMX_CONSOLE. This was detected when building 'allmodconfig'. Reported-by: Olof's autobuilder <build@lixom.net> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions