aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2009-10-01 04:28:15 -0400
committerGreg Ungerer <gerg@goober.(none)>2009-12-03 20:45:30 -0500
commitd6f80e3a2a8c49f3e9c350b15f510c6eb8c1770d (patch)
tree683b8bb620133ca7a4e97328381338de07f4c2e2 /drivers/serial
parent22763c5cf3690a681551162c15d34d935308c8d7 (diff)
m68knommu: move mcf_remove to .devexit.text
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>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/mcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/mcf.c b/drivers/serial/mcf.c
index b44382442bf1..7bb5fee639e3 100644
--- a/drivers/serial/mcf.c
+++ b/drivers/serial/mcf.c
@@ -602,7 +602,7 @@ static int __devinit mcf_probe(struct platform_device *pdev)
602 602
603/****************************************************************************/ 603/****************************************************************************/
604 604
605static int mcf_remove(struct platform_device *pdev) 605static int __devexit mcf_remove(struct platform_device *pdev)
606{ 606{
607 struct uart_port *port; 607 struct uart_port *port;
608 int i; 608 int i;