diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-06-01 00:47:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-01 08:18:30 -0700 |
commit | c79d9c9e9ace5eeae54f484f62fbd86bf27a344a (patch) | |
tree | b1ea086730b77a0d121decfd21583c5064998958 /drivers/net/gianfar_sysfs.c | |
parent | 39959588f58668472bc7108942a8998acedce911 (diff) |
net/hp100: fix section mismatch warning
Fix following section mismatch warning in hp100:
WARNING: drivers/net/hp100.o(.init.text+0x26a): Section mismatch: reference to .exit.text: (after 'init_module')
The warning says that we use a function marked __exit from a
function marked __init.
This is not good on architectures where we discard __exit section
for drivers that are built-in.
Note: This warning is only seen by my local copy of modpost
but the change will soon hit upstream.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/gianfar_sysfs.c')
0 files changed, 0 insertions, 0 deletions