Searched hist:a4f2dc9efc00a56ca30ce340a1405293ec9488a4 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | st-asc.c | diff a4f2dc9efc00a56ca30ce340a1405293ec9488a4 Fri Aug 02 04:23:51 CDT 2013 Srinivas Kandagatla <srinivas.kandagatla@st.com> 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 <srinivas.kandagatla@st.com> Reported-by: Kbuild Test Robot <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|