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 <[email protected]>
Cc: Len Sorensen <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Alan Cox <[email protected]>
Cc: [email protected]
Signed-off-by: Greg Ungerer <[email protected]>
This commit is contained in:
Uwe Kleine-König 2009-10-01 10:28:15 +02:00 • committed by Greg Ungerer
commit d6f80e3a2a

View file

@ -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;