diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-04-09 13:53:32 +0900 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-18 08:54:06 +0200 |
commit | f56cad5fd6cd876d0cab9d13d9df7bebf6fddf59 (patch) | |
tree | d8d54322c3d5310076c0558723dccea07fb3c7a6 /drivers/mtd/nand | |
parent | 2e16dc73ae65c106ede04dc42f439457b582fc8d (diff) |
mtd: rawnand: constify elements of NAND_OP_PARSER(_PATTERN)
Currently, drivers are able to constify a nand_op_parser array,
but not nand_op_parser_pattern and nand_op_parser_pattern_elem
since they are instantiated by using the NAND_OP_PARSER(_PATTERN).
Add 'const' to them in order to move more driver data from .data to
.rodata section.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand')
0 files changed, 0 insertions, 0 deletions