From: Srinivas Kandagatla Date: Fri, 2 Aug 2013 09:23:51 +0000 (+0100) Subject: serial: st-asc: Fix unused variable warning for non DT. X-Git-Tag: v3.12-rc1~182^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f2dc9efc00a56ca30ce340a1405293ec9488a4;p=pandora-kernel.git serial: st-asc: Fix unused variable warning for non DT. This patch fixes a below warning reported by kbuild test robot. drivers/tty/serial/st-asc.c:727:28: warning: 'asc_match' defined but not used [-Wunused-variable] The code used in DT case is now ifdefed under CONFIG_OF to fix this warning. Signed-off-by: Srinivas Kandagatla Reported-by: Kbuild Test Robot Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed