]> git.karo-electronics.de Git - linux-beck.git/commit
serial: sh-sci: Fix up ioremap handling.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 19 Jan 2011 08:51:37 +0000 (17:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 19 Jan 2011 08:51:37 +0000 (17:51 +0900)
commite8183a6c6238a192fba32ac47d75fd076ca487a6
tree838ae23f63d26435c917403b850669c9629e21cb
parent86b7d0e288c326d3ea7c22600cb7b6d84abb2968
serial: sh-sci: Fix up ioremap handling.

We were using an IS_ERR() check for the ioremap case, presumably because
this matched the old custom ioremap call that sh64 was providing. Now
that all ioremap() implementations trap the IS_ERR case and hand back a
NULL, check for that instead.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c