UBI: block: Remove __initdata from ubiblock_param_ops
authorRichard Weinberger <richard@nod.at>
Wed, 19 Mar 2014 10:43:22 +0000 (11:43 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 21 Mar 2014 17:37:03 +0000 (19:37 +0200)
commitd56030ac25d383218045c5d87e98e0494d6af3ad
tree8721ecf83b33c5dd1a3c4e174881b23f0845846e
parent463c5eedb4a13b9aa91f05498a0f2c20bd03f8c4
UBI: block: Remove __initdata from ubiblock_param_ops

You cannot mark these parameters as __initdata.
Otherwise the data is gone upon module exit.

Fixes:
[  172.045465] BUG: unable to handle kernel paging request at ffffffffa001db38
[  172.046020] IP: [<ffffffff81067aa4>] destroy_params+0x24/0x50

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/block.c