summaryrefslogtreecommitdiffstats
path: root/drivers/net/ibm_newemac/tah.c
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@gmail.com>2008-04-22 10:46:43 +1000
committerJeff Garzik <jgarzik@redhat.com>2008-04-25 02:08:06 -0400
commit51d4a1cc2e20e2848c6141989f733f0e6548598b (patch)
treed3a6e13ecc3624d24ddbc34be961fe38f15d2707 /drivers/net/ibm_newemac/tah.c
parentafd1dee896e8b1cbd24258ac673aeccd803ff582 (diff)
downloadlinux-51d4a1cc2e20e2848c6141989f733f0e6548598b.tar.gz
linux-51d4a1cc2e20e2848c6141989f733f0e6548598b.tar.bz2
linux-51d4a1cc2e20e2848c6141989f733f0e6548598b.zip
ibm_newemac: Fix section mismatch warnings
This patch fixes several section mismatch warnings in the ibm_newemac driver similar to: WARNING: vmlinux.o(.devinit.text+0x3a04): Section mismatch in reference from the function emac_probe() to the function .devexit.text:tah_detach() The function __devinit emac_probe() references a function __devexit tah_detach(). Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ibm_newemac/tah.c')
-rw-r--r--drivers/net/ibm_newemac/tah.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/tah.c b/drivers/net/ibm_newemac/tah.c
index b023d10d7e1c..30173a9fb557 100644
--- a/drivers/net/ibm_newemac/tah.c
+++ b/drivers/net/ibm_newemac/tah.c
@@ -35,7 +35,7 @@ int __devinit tah_attach(struct of_device *ofdev, int channel)
return 0;
}
-void __devexit tah_detach(struct of_device *ofdev, int channel)
+void tah_detach(struct of_device *ofdev, int channel)
{
struct tah_instance *dev = dev_get_drvdata(&ofdev->dev);