Home
last modified time | relevance | path

Searched hist:"3 d59142a" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/media/
H A Ddvb-usb-ids.h3d59142a Mon Mar 28 15:41:38 CDT 2022 Mauro Carvalho Chehab <mchehab@kernel.org> 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>
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Ddib0700_devices.c3d59142a Mon Mar 28 15:41:38 CDT 2022 Mauro Carvalho Chehab <mchehab@kernel.org> 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>