From: Stephen Hemminger Date: Sat, 7 Jan 2006 00:57:39 +0000 (-0800) Subject: [PATCH] sk98lin: routine called from probe marked __init X-Git-Tag: v2.6.16-rc1~669^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17fa6e2f115ad734ef802b663071159a1a64d06f;p=pandora-kernel.git [PATCH] sk98lin: routine called from probe marked __init Sk98lin driver has a routine marked __init that is called from the probe code. If using pci hotplug, this could be called after the initialization so it needs to be marked __devinit. So if you hot added a sk98lin board, the kernel would crash. I don't have hot plug hardware to actually try this feat. Also, there are two routines, only called from SkGeBoardInit that can be marked __devinit. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed