serial: sh-sci: Fix up default regtype probing.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 3 Aug 2011 03:33:20 +0000 (12:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 3 Aug 2011 03:33:20 +0000 (12:33 +0900)
Presently the default regtype probing inadvertently bails out due to an
inverted error check. This fixes it up, and gets platforms without
explicit regtype specifications working again.

Reported-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found