diff options
author | Sam Shih <sam.shih@mediatek.com> | 2019-09-20 06:49:04 +0800 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-09-25 09:49:15 +0200 |
commit | efecdeb82f21d4100566ce85bda2d7ffb9c9edff (patch) | |
tree | 12975cc3bfc25c14f5297f2fca9878d9c0a3f523 /drivers/pwm/Makefile | |
parent | 61aa258ab1a50b834267f5df6cabef0d10f8955a (diff) |
pwm: mediatek: Allocate the clks array dynamically
Instead of using fixed size of arrays, allocate the memory for them
based on the number of PWMs specified for each SoC generation.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Makefile')
0 files changed, 0 insertions, 0 deletions