diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2009-12-09 12:34:18 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 14:43:13 -0800 |
commit | c6fc826e4c51d2c54913c2a6d800159a2c7dac4b (patch) | |
tree | 8893631c55c4d028f8ef91f9dbfc33b9c829be21 /drivers/char/ip2 | |
parent | ecfcbee729389bc47576695c529d351d60946ca7 (diff) |
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/char/ip2')
0 files changed, 0 insertions, 0 deletions