Explorar o código

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>
Uwe Kleine-König %!s(int64=15) %!d(string=hai) anos
pai
achega
d6f80e3a2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/serial/mcf.c

+ 1 - 1
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;