diff options
| author | Hans Verkuil <[email protected]> | 2015-09-13 13:41:27 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-09-30 19:39:04 -0300 |
| commit | ff1447267b83d648078c1002eb566e7f6c0f82dd (patch) | |
| tree | f150fbad8bfa58bb70c112018116a6e52b8c9341 /include/uapi/linux | |
| parent | 9ec32cc703c17b9fd1695619695b84f6ed554fab (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