Skip to content

Commit

Permalink
serial: sh-sci: Fix up section mismatch in error path.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed May 8, 2009
1 parent 3b226e1 commit 54507f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 54507f6

Please sign in to comment.