diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-04-30 11:53:44 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 19:29:43 +0400 |
commit | 2108eba5c531c12f5ae2ed2ef4cee7bf4246897b (patch) | |
tree | 2dc0507b8d9a88945c0737acf7b9a794186ee62b /drivers/char/moxa.h | |
parent | 7bcf97d1dd88135b58c7adb7c3bfebab55b21a20 (diff) | |
download | linux-2108eba5c531c12f5ae2ed2ef4cee7bf4246897b.tar.xz |
Char: moxa, cleanup rx/tx
- cleanup types
- use tty_prepare_flip_string and io memcpys
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Oyvind Aabling <Oyvind.Aabling@uni-c.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/moxa.h')
-rw-r--r-- | drivers/char/moxa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/moxa.h b/drivers/char/moxa.h index 0b1650621a04..87d16ce57be7 100644 --- a/drivers/char/moxa.h +++ b/drivers/char/moxa.h @@ -217,7 +217,7 @@ #define C320p32rx_mask (C320p32rx_size - 1) #define C320p32tx_mask (C320p32tx_size - 1) -#define Page_size 0x2000 +#define Page_size 0x2000U #define Page_mask (Page_size - 1) #define C218rx_spage 3 #define C218tx_spage 4 |