Shawn Guo f30e826069 serial: imx: fix uninitialized variable warning
Commit 677fe55 (serial: imx: Fix recursive locking bug) introduces an
uninitialized variable warning as below.

  CC      drivers/tty/serial/imx.o
drivers/tty/serial/imx.c: In function ‘imx_console_write’:
include/linux/spinlock.h:340:2: warning: ‘flags’ may be used uninitialized in this function [-Wuninitialized]
drivers/tty/serial/imx.c:1214:16: note: ‘flags’ was declared here

Initialize the variable to suppress the warning.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-18 11:05:14 -08:00
..
2013-01-15 22:43:15 -08:00
2013-02-13 10:17:06 -08:00
2013-01-15 22:30:15 -08:00
2013-02-06 11:10:17 -08:00
2013-01-15 22:43:15 -08:00
2013-01-15 22:30:15 -08:00
2011-03-31 11:26:23 -03:00
2013-01-30 12:10:09 +01:00
2012-08-10 12:55:47 -07:00
2013-01-15 22:43:16 -08:00
2012-11-15 17:20:58 -08:00