commit | b9adf469f8abb8a66f5795bbd8fe50fe201a14a1 | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Fri Dec 04 15:25:14 2015 -0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Dec 09 10:21:57 2015 -0800 |
tree | 74cae4be670419cd995bff000a279519dfac230e | |
parent | c3168d26c8deea4cc0202bb19341ab55247c3941 [diff] |
mtd: partitions: make parsers return 'const' partition arrays We only want to modify these arrays inside the parser "drivers", so the drivers should construct them however they like, then return them as immutable arrays. This will make other refactorings easier. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>