diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c index 7f7d6b65d76f300a128e6750cc08f494611c46f8..ce063a1597c3f4b888910f9eafe00cff1b3eb052 100644 --- a/drivers/staging/most/core.c +++ b/drivers/staging/most/core.c @@ -756,11 +756,20 @@ static const struct attribute_group *aim_attr_groups[] = { * ___C O R E___ */ +int most_match(struct device *dev, struct device_driver *drv) +{ + if (!strcmp(dev_name(dev), "most")) + return 0; + else + return 1; +} + /** * Instantiation of the MOST bus */ static struct bus_type most_bus = { .name = "most", + .match = most_match, }; /**