commit | d763479abd67fc67a13aabe0ce19b4d775fbdcee | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@kernel.org> | Mon Mar 28 22:41:36 2022 +0200 |
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | Mon Apr 18 07:36:44 2022 +0200 |
tree | a14a9fdcacafe2fb197436556c9772f47d1f2270 | |
parent | 5710a24b34576a8873ee836953575fdb234b37e2 [diff] |
media: dvb-usb: dibusb-mb: 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/a300c26ad4e9bb913e86eeaf0ec7d72b9e7d5d3e.1648499509.git.mchehab@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>