diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-10-19 09:48:59 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-05 22:23:58 +0100 |
commit | 51b436a2420e32258f78f0d7a53c8ad1c8569d3b (patch) | |
tree | 0be81ee88596b47710c10220d24eecf113e118cb /drivers/cpufreq | |
parent | mtd: maps: physmap: Use devm_ioremap_resource() (diff) | |
download | linux-51b436a2420e32258f78f0d7a53c8ad1c8569d3b.tar.xz linux-51b436a2420e32258f78f0d7a53c8ad1c8569d3b.zip |
mtd: maps: physmap: Remove the MAX_RESOURCES limitation
Remove the MAX_RESOURCES limitation by dynamically allocating the
->mtds[] and ->maps[] at probe time based on the number of iomem
resources attached to the platform device.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions