tty: moxa: remove #ifdef MODULE completely.
authorRakib Mullick <rakib.mullick@gmail.com>
Wed, 9 Dec 2009 20:34:18 +0000 (12:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:43:13 +0000 (14:43 -0800)
commitc6fc826e4c51d2c54913c2a6d800159a2c7dac4b
tree8893631c55c4d028f8ef91f9dbfc33b9c829be21
parentecfcbee729389bc47576695c529d351d60946ca7
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<rakib.mullick@gmail.com>
Acked-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/moxa.c