summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-10-19 09:48:59 +0200
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-11-05 22:23:58 +0100
commit51b436a2420e32258f78f0d7a53c8ad1c8569d3b (patch)
tree0be81ee88596b47710c10220d24eecf113e118cb /drivers/cpufreq
parentmtd: maps: physmap: Use devm_ioremap_resource() (diff)
downloadlinux-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