autodetect_raid: add missing __init marking
authorMike Frysinger <vapier@gentoo.org>
Tue, 6 Jan 2009 22:40:53 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:12 +0000 (15:59 -0800)
commitff083c8372f6312bb3a8c7f7b748920aeeb210c9
treeb80de8ca8693b251972526f5a076f1eab3c1407b
parent7ec7fb394298c212c30e063c57e0aa895efe9439
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 <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/do_mounts_md.c