]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19bc3fa5d7286d300a06ca2b50c8f1ca47e8d909
tree3743c9cb122f6e7c51077597cc7448a6b1e9f41e
parent47cf125fb9a06b3cd5741dd99e0175929d6c0600
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