From: Uwe Kleine-König Date: Thu, 1 Oct 2009 08:28:15 +0000 (+0200) Subject: m68knommu: move mcf_remove to .devexit.text X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d6f80e3a2a8c49f3e9c350b15f510c6eb8c1770d;p=linux-beck.git 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 Cc: Len Sorensen Cc: Greg Kroah-Hartman Cc: Alan Cox Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Ungerer --- 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) /****************************************************************************/ -static int mcf_remove(struct platform_device *pdev) +static int __devexit mcf_remove(struct platform_device *pdev) { struct uart_port *port; int i;