summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-03-28 23:41:17 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-04-18 08:36:43 +0300
commit1c64fd9c640862e6b5b9c7c35e789338e08cfe02 (patch)
tree2e0b68709bdefcee18dd10750df8f807baa4c4e5 /include/linux
parent82a4a3ba3380bafc33f58c9b8057bb6577a7f113 (diff)
downloadlinux-1c64fd9c640862e6b5b9c7c35e789338e08cfe02.tar.xz
media: dvb-usb: a800: 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/dc8f9ec6cc8f2e16967a61752a292c46622c01dc.1648499509.git.mchehab@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions