aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2015-09-13 13:41:27 -0300
committerMauro Carvalho Chehab <[email protected]>2015-09-30 19:39:04 -0300
commitff1447267b83d648078c1002eb566e7f6c0f82dd (patch)
treef150fbad8bfa58bb70c112018116a6e52b8c9341 /include/uapi/linux
parent9ec32cc703c17b9fd1695619695b84f6ed554fab (diff)
[media] vivid: use ARRAY_SIZE to calculate max control value
The max value of various menu controls is hardcoded, and it is easy to forget to update it after adding a new menu item. So use ARRAY_SIZE instead to calculate this value. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions