serial: sh-sci: Fix up section mismatch in error path.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 14:48:33 +0000 (23:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 14:48:33 +0000 (23:48 +0900)
commit54507f6ee99778a727ff1b38a1f4050fe6479835
tree40e31870a78c775524e1c948b4b5ad96772bb79a
parent3b226e15beb5ecf068738e796811afd1e5b3f81f
serial: sh-sci: Fix up section mismatch in error path.

The sci_probe_single() path attempts to use sci_remove() for the error
path, while sci_remove() is still flagged as __devexit. So, we simply
discard the section annotation.

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