Skip to content

Commit

Permalink
m68knommu: move mcf_remove to .devexit.text
Browse files Browse the repository at this point in the history
The function mcf_remove is used only wrapped by __devexit_p so define it
using __devexit.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Len Sorensen <lsorense@csclub.uwaterloo.ca>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Alan Cox <alan@linux.intel.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
  • Loading branch information
Uwe Kleine-König authored and Greg Ungerer committed Dec 4, 2009
1 parent 22763c5 commit d6f80e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/mcf.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ static int __devinit mcf_probe(struct platform_device *pdev)

/****************************************************************************/

static int mcf_remove(struct platform_device *pdev)
static int __devexit mcf_remove(struct platform_device *pdev)
{
struct uart_port *port;
int i;
Expand Down

0 comments on commit d6f80e3

Please sign in to comment.