aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hsi/hsi_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hsi/hsi_core.c')
-rw-r--r--drivers/hsi/hsi_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hsi/hsi_core.c b/drivers/hsi/hsi_core.c
index e3beeac8aee5..8113cb9d4015 100644
--- a/drivers/hsi/hsi_core.c
+++ b/drivers/hsi/hsi_core.c
@@ -37,7 +37,7 @@ static int hsi_bus_uevent(const struct device *dev, struct kobj_uevent_env *env)
return 0;
}
-static int hsi_bus_match(struct device *dev, struct device_driver *driver)
+static int hsi_bus_match(struct device *dev, const struct device_driver *driver)
{
if (of_driver_match_device(dev, driver))
return true;