summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-06-05 00:58:46 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-06 13:09:55 -0700
commite8bfa7607342a21af06a0d365bf2f1d3062643bd (patch)
tree65771b961006cc0bd2c0ec9ccb1df8c8dea644e3 /tools/perf/scripts/python/sched-migration.py
parent9f6d20ff848c23506c2ec55431479cb350179886 (diff)
serial: imx: Fix warning when !CONFIG_SERIAL_IMX_CONSOLE
When CONFIG_SERIAL_IMX_CONSOLE is not selected the following build warnings appear: 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] imx_port_ucrs_save() and imx_port_ucrs_restore() are only used when CONFIG_CONSOLE_POLL or CONFIG_SERIAL_IMX_CONSOLE are selected, so protect these functions declaration with a proper ifdef. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions