diff options
author | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-03-28 23:41:28 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-04-18 08:36:44 +0300 |
commit | cb794c2b7ae5b769fd46a3cce9508f7e04bf172b (patch) | |
tree | e158fba2d60e55da5b88a8799bfd06853f201e90 /drivers/media/usb/dvb-usb/opera1.c | |
parent | 3473fd1711527c24b3d37d6b13cfd341e2d5a3c7 (diff) | |
download | linux-cb794c2b7ae5b769fd46a3cce9508f7e04bf172b.tar.xz |
media: dvb-usb: nova-t-usb2: 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/58f1a356b7b75bbefef3aa07cd99896c446df32f.1648499509.git.mchehab@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb/opera1.c')
0 files changed, 0 insertions, 0 deletions