summaryrefslogtreecommitdiff
path: root/drivers/most/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/most/core.c')
-rw-r--r--drivers/most/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/most/core.c b/drivers/most/core.c
index 10342e8801bf..a635d5082ebb 100644
--- a/drivers/most/core.c
+++ b/drivers/most/core.c
@@ -491,7 +491,7 @@ static int print_links(struct device *dev, void *data)
return 0;
}
-static int most_match(struct device *dev, struct device_driver *drv)
+static int most_match(struct device *dev, const struct device_driver *drv)
{
if (!strcmp(dev_name(dev), "most"))
return 0;