diff options
author | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-03-28 23:41:33 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-04-18 08:36:44 +0300 |
commit | 0e10b7c25894420b18ca4593a5972a552351d0e2 (patch) | |
tree | 72ddbf10a2af7cc67cd5d71adc57f278dc4c48c7 /include/media/dvb-usb-ids.h | |
parent | 5c1a56c9f0658d9b2d4be333fd896cd1b6cbaa82 (diff) | |
download | linux-0e10b7c25894420b18ca4593a5972a552351d0e2.tar.xz |
media: dvb-usb: umt-010: use an enum for the device number
The device number is currently a value that needs to be the same
on two separate tables, but the code doesn't actually enforce it,
leading to errors as boards get added or removed.
Fix it by using an enum.
Link: https://lore.kernel.org/linux-media/5fd3c469faa115856f48037019e607edcb41d458.1648499509.git.mchehab@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/media/dvb-usb-ids.h')
0 files changed, 0 insertions, 0 deletions