diff options
| author | Jiri Slaby <[email protected]> | 2008-07-25 08:48:20 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-25 17:53:43 +0000 |
| commit | 72800df9ba3199df02a95b3830c49fbf16ec4a6d (patch) | |
| tree | 0c51326b74d052134019735a3c0da76a13ae0068 /drivers/misc/phantom.c | |
| parent | Char: mxser, ioctl cleanup (diff) | |
| download | kernel-72800df9ba3199df02a95b3830c49fbf16ec4a6d.tar.gz kernel-72800df9ba3199df02a95b3830c49fbf16ec4a6d.zip | |
Char: mxser, globals cleanup
- remove unused mxvar_diagflag
- move mxser_msr into the only user/function
- GMStatus, hmm, fix race-prone access to it. We need only one instance for
real, not MXSER_PORTS. Move it to MOXA_GETMSTATUS ioctl.
- mxser_mon_ext, almost the same, but alloc it on heap, since it has more than
2 kilos.
- fix indexing, `i' is not the index value, `i * MXSER_PORTS_PER_BOARD + j' is
Signed-off-by: Jiri Slaby <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/misc/phantom.c')
0 files changed, 0 insertions, 0 deletions
