I noticed that struct serial_ops really ought to be const, so I wrote this little series to constify it. I consider the first patch to be pretty obvious. However the second one is less clear. Give it a read. I regtested this series on x86-64 Fedora 18, and also rebuilt it using the mingw cross tools. Tom