summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-03-28 22:41:38 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-04-18 07:36:44 +0200
commit3d59142ad94cf60b94b3dc94c19fdafa23aec8b1 (patch)
tree955999a1729cabfc740431908e90861974c9ae34 /kernel/locking
parent281b21c56ed325ad5a23bf2dce45a8d7f751a577 (diff)
downloadlinux-3d59142ad94cf60b94b3dc94c19fdafa23aec8b1.tar.gz
linux-3d59142ad94cf60b94b3dc94c19fdafa23aec8b1.tar.bz2
linux-3d59142ad94cf60b94b3dc94c19fdafa23aec8b1.zip
media: dvb-usb: dib0700_devices: 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/028699ec71158dbc49d710a4259eb8cdb7f673cb.1648499509.git.mchehab@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions