mirror of
https://github.com/tbsdtv/media_build.git
synced 2025-07-23 04:13:02 +02:00
17 lines
756 B
Diff
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))
|