summaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2019-06-12 05:39:12 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-12 10:41:03 -0400
commitb86b8473d52f307de1b9a3295492a87e6d119160 (patch)
tree8505269b9a9adbb0f28402bd2a208332dea55107 /include/kvm
parentc330d371137fca9190a83f68bba2af7f64d205a0 (diff)
downloadlinux-b86b8473d52f307de1b9a3295492a87e6d119160.tar.bz2
media: hantro: allow arbitrary number of clocks
Dynamically allocate clocks and move clock names out of struct hantro_variant. This lifts the four clock limit and allows to use ARRAY_SIZE() to fill .num_clocks to reduce the risk of mismatches. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions