Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54507f6e authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 3b226e15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1227,7 +1227,7 @@ static struct uart_driver sci_uart_driver = {
};


static int __devexit sci_remove(struct platform_device *dev)
static int sci_remove(struct platform_device *dev)
{
	struct sh_sci_priv *priv = platform_get_drvdata(dev);
	struct sci_port *p;