summaryrefslogtreecommitdiffstats
path: root/drivers/net/ibm_newemac/mal.c
diff options
context:
space:
mode:
authorJosh Boyer2008-04-22 02:46:43 +0200
committerJeff Garzik2008-04-25 08:08:06 +0200
commit51d4a1cc2e20e2848c6141989f733f0e6548598b (patch)
treed3a6e13ecc3624d24ddbc34be961fe38f15d2707 /drivers/net/ibm_newemac/mal.c
parentibm_newemac: Add support for 460EX/GT-type MAL rx-channel handling (diff)
downloadkernel-qcow2-linux-51d4a1cc2e20e2848c6141989f733f0e6548598b.tar.gz
kernel-qcow2-linux-51d4a1cc2e20e2848c6141989f733f0e6548598b.tar.xz
kernel-qcow2-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/mal.c')
-rw-r--r--drivers/net/ibm_newemac/mal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ibm_newemac/mal.c b/drivers/net/ibm_newemac/mal.c
index fb9c9eb114f4..10c267b2b961 100644
--- a/drivers/net/ibm_newemac/mal.c
+++ b/drivers/net/ibm_newemac/mal.c
@@ -61,8 +61,8 @@ int __devinit mal_register_commac(struct mal_instance *mal,
return 0;
}
-void __devexit mal_unregister_commac(struct mal_instance *mal,
- struct mal_commac *commac)
+void mal_unregister_commac(struct mal_instance *mal,
+ struct mal_commac *commac)
{
unsigned long flags;