]> err.no Git - linux-2.6/commit
[PATCH] fealnx section fix
authorAndrew Morton <akpm@osdl.org>
Tue, 15 Aug 2006 06:00:09 +0000 (23:00 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 19 Aug 2006 21:44:28 +0000 (17:44 -0400)
commit90d5aed2d9c7d2f3915b75342988114fd7b6c13d
treec6f31166423c921264746d55606e852ae54bd6bf
parentc9d26c9785d900d8547b268f0c0507f252879c48
[PATCH] fealnx section fix

With CONFIG_HOTPLUG=n it won't compile:

distcc[25607] ERROR: compile drivers/net/fealnx.c on g5/64 failed

version[] is referred to from both __init code and from __devinit code, so
move it out of __init altogether.

Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/fealnx.c