From: Andy Shevchenko Date: Fri, 6 Jun 2014 12:24:10 +0000 (+0300) Subject: serial: 8250_dw: use UPF_* constants when define flags X-Git-Tag: cleanup-for-v3.18~124^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8782c7452b4a54cc8830074e8cd967e17559880;p=pandora-kernel.git serial: 8250_dw: use UPF_* constants when define flags The flags member has upf_t type and corresponding macros to define them. This patch converts ASYNC_SKIP_TEST to UPF_SKIP_TEST in 8250_dw.c. Otherwise we got a sparse warning: drivers/tty/serial/8250/8250_dw.c:302:46: warning: restricted upf_t degrades to integer drivers/tty/serial/8250/8250_dw.c:302:62: warning: restricted upf_t degrades to integer drivers/tty/serial/8250/8250_dw.c:302:26: warning: incorrect type in assignment (different base types) drivers/tty/serial/8250/8250_dw.c:302:26: expected restricted upf_t [usertype] flags drivers/tty/serial/8250/8250_dw.c:302:26: got unsigned int Signed-off-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed