From: Soren Brinkmann Date: Mon, 21 Oct 2013 23:41:00 +0000 (-0700) Subject: tty: xuartps: Fix build error due to missing forward declaration X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~63^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3641f64bc71765682754722fd42fae24366bb3a;p=pandora-kernel.git tty: xuartps: Fix build error due to missing forward declaration If CONFIG_PM_SLEEP is enabled and CONFIG_SERIAL_XILINX_PS_UART_CONSOLE is not, a forward declaration of the uart_driver struct is not included, leading to a build error due to an undeclared variable. Fixing this by moving the definition of the struct uart_driver before the definition of the suspend/resume callbacks. Signed-off-by: Soren Brinkmann Reported-by: kbuild test robot Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed