From: Mike Frysinger Date: Tue, 6 Jan 2009 22:40:53 +0000 (-0800) Subject: autodetect_raid: add missing __init marking X-Git-Tag: v2.6.29-rc1~377 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff083c8372f6312bb3a8c7f7b748920aeeb210c9;p=pandora-kernel.git autodetect_raid: add missing __init marking The function autodetect_raid is only used by __init functions, and it refers to __initdata, so it needs __init markings. Fixes this error: The function autodetect_raid() references the variable __initdata raid_noautodetect. This is often because autodetect_raid lacks a __initdata annotation or the annotation of raid_noautodetect is wrong. Signed-off-by: Mike Frysinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed