UBI: mark few variables as __initdata
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 6 Jan 2010 12:20:31 +0000 (14:20 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 1 Feb 2010 13:16:36 +0000 (15:16 +0200)
The @mtd_devs and @mtd_dev_param variables are used only during the
initialization, and all functions that use the variables have
the __init prefix. This means we can safely mark the variables
as __initdata, which is a tiny optimization.

Impact: tiny RAM consumption optimization when UBI is used as a kernel
        module.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found