We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9369b88 commit 1b753acCopy full SHA for 1b753ac
1 file changed
drivers/media/pci/intel/ipu-bus.c
@@ -75,9 +75,13 @@ static const struct dev_pm_ops ipu_bus_pm_ops = {
75
#define IPU_BUS_PM_OPS NULL
76
#endif
77
78
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0)
79
static int ipu_bus_match(struct device *dev, struct device_driver *drv)
80
+#else
81
+static int ipu_bus_match(struct device *dev, const struct device_driver *drv)
82
+#endif
83
{
- struct ipu_bus_driver *adrv = to_ipu_bus_driver(drv);
84
+ const struct ipu_bus_driver *adrv = to_ipu_bus_driver(drv);
85
86
dev_dbg(dev, "bus match: \"%s\" --- \"%s\"\n", dev_name(dev),
87
adrv->wanted);
0 commit comments