]> err.no Git - linux-2.6/commit
drivers/net/s2io.c section fixes
authorAdrian Bunk <bunk@kernel.org>
Tue, 11 Dec 2007 22:23:06 +0000 (23:23 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 14 Dec 2007 20:26:22 +0000 (15:26 -0500)
commit33390a700129aa03f3808c35de017650a688f82a
treebd022de0b115ac5182aeeb593b674a25551b38d4
parentc2b75f0cd7cb14874f179d2c09c81f77ad784df2
drivers/net/s2io.c section fixes

Code used by the non-__devinit s2io_open() mustn't be __devinit.

This patch fixes the following section mismatch with CONFIG_HOTPLUG=n:

<--  snip  -->

...
WARNING: vmlinux.o(.text+0x6f6e3e): Section mismatch: reference to .init.text.20:s2io_test_intr (between 's2io_open' and 's2io_ethtool_sset')
...

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/s2io.c