From: Rakib Mullick Date: Wed, 9 Dec 2009 20:34:18 +0000 (-0800) Subject: tty: moxa: remove #ifdef MODULE completely. X-Git-Tag: v2.6.34-rc1~216^2~21 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6fc826e4c51d2c54913c2a6d800159a2c7dac4b;p=pandora-kernel.git tty: moxa: remove #ifdef MODULE completely. We can pass "module parameters" on the kernel command line even when !MODULE. So, #ifdef MODULE becomes obsolete. Also move the declaration moxa_board_conf at the start of the function, since we were hit by the following warning. drivers/char/moxa.c: In function `moxa_init': drivers/char/moxa.c:1040: warning: ISO C90 forbids mixed declarations and code Signed-off-by: Rakib Mullick Acked-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed