newport_con warning fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 22 Aug 2007 21:02:01 +0000 (14:02 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 23 Aug 2007 02:52:47 +0000 (19:52 -0700)
commit4ae8aeae47e0f014ec453c4b75c9de00bd29e9e6
treefc5f8af5c600520d9bb91fa0099bcd56c9122278
parent0aa42632d3a0024700b25f57fd0fca56f6abad24
newport_con warning fix

drivers/video/console/newport_con.c: In function `newport_console_init':
drivers/video/console/newport_con.c:743: warning: return makes integer from pointer without a cast

Although one wonders whether that should have been -ENODEV...

Cc: "Antonino A. Daplas" <adaplas@pol.net>
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/video/console/newport_con.c