From: Sam Ravnborg Date: Fri, 1 Jun 2007 07:47:14 +0000 (-0700) Subject: net/hp100: fix section mismatch warning X-Git-Tag: v2.6.22-rc4~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c79d9c9e9ace5eeae54f484f62fbd86bf27a344a;p=pandora-kernel.git 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 Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed