diff options
author | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-03-28 22:41:32 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-04-18 07:36:44 +0200 |
commit | 5c1a56c9f0658d9b2d4be333fd896cd1b6cbaa82 (patch) | |
tree | d6f3f6a2d109511c531debf809eb1c1364c98630 /include/ras | |
parent | ff9b0c51d88619ee9e123fce87b8a931bc484d93 (diff) |
media: dvb-usb: ttusb2: 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/b447d9fd3832da5eff6267e8fe742c431f1133f2.1648499509.git.mchehab@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/ras')
0 files changed, 0 insertions, 0 deletions