sb1250-duart: __maybe_unused, etc. fixes
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 31 Jul 2007 07:39:22 +0000 (00:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:43 +0000 (15:39 -0700)
commit86d0004abc87025bae1cca43c94e99a27b7bbbd6
tree3743c9cb122f6e7c51077597cc7448a6b1e9f41e
parentdd22a68228cf1c8dad39d6f9da925bd534aea91d
sb1250-duart: __maybe_unused, etc. fixes

This is a set of small fixes addressing points raised with the original
driver submission.  In particular, __maybe_unused is used rather than a
local hack and sbd_ops is made const.  Additionally I have made two local
string variables automatic as rodata space was wasted for pointers
unnecessarily.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/sb1250-duart.c