summaryrefslogtreecommitdiffstats
path: root/drivers/serial/icom.c
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2009-12-09 12:34:18 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:43:13 -0800
commitc6fc826e4c51d2c54913c2a6d800159a2c7dac4b (patch)
tree8893631c55c4d028f8ef91f9dbfc33b9c829be21 /drivers/serial/icom.c
parentecfcbee729389bc47576695c529d351d60946ca7 (diff)
downloadop-kernel-dev-c6fc826e4c51d2c54913c2a6d800159a2c7dac4b.zip
op-kernel-dev-c6fc826e4c51d2c54913c2a6d800159a2c7dac4b.tar.gz
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>
Diffstat (limited to 'drivers/serial/icom.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud