linux/drivers/media/usb/dvb-usb
Mauro Carvalho Chehab 3d59142ad9 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>
2022-04-18 07:36:44 +02:00
..
a800.c media: dvb-usb: a800: use an enum for the device number 2022-04-18 07:36:43 +02:00
af9005-fe.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
af9005-remote.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
af9005-script.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
af9005.c media: af9005: use the newer dvb-usb macros for USB device 2022-04-18 07:36:43 +02:00
af9005.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
az6027.c media: dvb-usb: az6027: use an enum for the device number 2022-04-18 07:36:43 +02:00
az6027.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cinergyT2-core.c media: cinergyT2-core: use the newer dvb-usb macros for USB device 2022-04-18 07:36:43 +02:00
cinergyT2-fe.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cinergyT2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
cxusb-analog.c media: media/usb: use vb2_video_unregister_device() 2020-08-28 15:02:52 +02:00
cxusb.c media: cxusb: use the newer dvb-usb macros for USB device 2022-04-18 07:36:43 +02:00
cxusb.h media: cxusb: Revert "media: cxusb: add raw mode support for, Medion MD95700" 2019-06-05 15:26:40 -04:00
dib07x0.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dib0700_core.c media: dib0700: Only touch one bit when start/stop an adapter 2021-11-19 16:24:07 +00:00
dib0700_devices.c media: dvb-usb: dib0700_devices: use an enum for the device number 2022-04-18 07:36:44 +02:00
dib0700.h media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dibusb-common.c media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte() 2021-10-08 13:54:43 +02:00
dibusb-mb.c media: dvb-usb: dibusb-mb: use an enum for the device number 2022-04-18 07:36:44 +02:00
dibusb-mc-common.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dibusb-mc.c media: dvb-usb: dibusb-mc: use an enum for the device number 2022-04-18 07:36:44 +02:00
dibusb.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
digitv.c media: digitv: use the newer dvb-usb macros for USB device 2022-04-18 07:36:43 +02:00
digitv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dtt200u-fe.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dtt200u.c media: dvb-usb: dtt200u: use an enum for the device number 2022-04-18 07:36:43 +02:00
dtt200u.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
dtv5100.c media: dtv5100: use the newer dvb-usb macros for USB device 2022-04-18 07:36:43 +02:00
dtv5100.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dvb-usb-common.h media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dvb-usb-dvb.c media: cxusb: implement Medion MD95700 digital / analog coexistence 2019-05-28 15:59:19 -04:00
dvb-usb-firmware.c media: dvb-usb: make dvb_usb_device_properties const 2020-04-21 12:56:10 +02:00
dvb-usb-i2c.c media: dvb-usb: Fix error handling in dvb_usb_i2c_init 2021-07-22 08:23:15 +02:00
dvb-usb-init.c media: dvb-usb: Fix error handling in dvb_usb_i2c_init 2021-07-22 08:23:15 +02:00
dvb-usb-remote.c media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
dvb-usb-urb.c media: dvb-usb/dvb-usb-urb.c: initialize actlen to 0 2019-12-13 09:17:42 +01:00
dvb-usb.h media: dvb-usb: avoid -Wempty-body warnings 2021-04-09 13:05:25 +02:00
dw2102.c media: dw2102: use the newer dvb-usb macros for USB device 2022-04-18 07:36:43 +02:00
dw2102.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gp8psk.c media: dvb-usb: gp8psk: use an enum for the device number 2022-04-18 07:36:43 +02:00
gp8psk.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
Kconfig media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
m920x.c media: dvb-usb: m920x: use an enum for the device number 2022-04-18 07:36:43 +02:00
m920x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile media: move ttpci-eeprom to common 2021-06-02 11:16:15 +02:00
nova-t-usb2.c media: dvb-usb: nova-t-usb2: use an enum for the device number 2022-04-18 07:36:44 +02:00
opera1.c media: dvb-usb: opera1: use an enum for the device number 2022-04-18 07:36:44 +02:00
pctv452e.c media: dvb-usb: pctv452e: use an enum for the device number 2022-04-18 07:36:44 +02:00
technisat-usb2.c media: technisat-usb2: use the newer dvb-usb macros for USB device 2022-04-18 07:36:44 +02:00
ttusb2.c media: dvb-usb: ttusb2: use an enum for the device number 2022-04-18 07:36:44 +02:00
ttusb2.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
umt-010.c media: dvb-usb: umt-010: use an enum for the device number 2022-04-18 07:36:44 +02:00
usb-urb.c media: dvb-usb: fix spelling mistake: "completition" -> "completion" 2018-08-03 16:08:55 -04:00
vp702x-fe.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
vp702x.c media: dvb-usb: vp702x: use an enum for the device number 2022-04-18 07:36:44 +02:00
vp702x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vp7045-fe.c media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
vp7045.c media: dvb-usb: vp7045: use an enum for the device number 2022-04-18 07:36:44 +02:00
vp7045.h media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00