Files
media_build/backports/v6.10_bt8xx.patch
2024-10-03 23:00:07 +03:00

17 lines
756 B
Diff

diff --git a/drivers/media/pci/bt8xx/bttv-gpio.c b/drivers/media/pci/bt8xx/bttv-gpio.c
index 59a6f160aac7..6b7fea50328c 100644
--- a/drivers/media/pci/bt8xx/bttv-gpio.c
+++ b/drivers/media/pci/bt8xx/bttv-gpio.c
@@ -28,9 +28,9 @@
/* ----------------------------------------------------------------------- */
/* internal: the bttv "bus" */
-static int bttv_sub_bus_match(struct device *dev, const struct device_driver *drv)
+static int bttv_sub_bus_match(struct device *dev, struct device_driver *drv)
{
- const struct bttv_sub_driver *sub = to_bttv_sub_drv(drv);
+ struct bttv_sub_driver *sub = to_bttv_sub_drv(drv);
int len = strlen(sub->wanted);
if (0 == strncmp(dev_name(dev), sub->wanted, len))