Skip to content

Commit

Permalink
media: dvb-usb: dib0700_devices: use an enum for the device number
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mchehab committed Apr 18, 2022
1 parent 281b21c commit 3d59142
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 177 deletions.

0 comments on commit 3d59142

Please sign in to comment.