commit | e8183a6c6238a192fba32ac47d75fd076ca487a6 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Wed Jan 19 17:51:37 2011 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Jan 19 17:51:37 2011 +0900 |
tree | 838ae23f63d26435c917403b850669c9629e21cb | |
parent | 86b7d0e288c326d3ea7c22600cb7b6d84abb2968 [diff] |
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>