driver core: Export device_is_dependent() to modules

Export device_is_dependent() since the drm_kms_helper module is starting
to use it.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231127051414.3783108-2-victor.liu@nxp.com
This commit is contained in:
Liu Ying 2023-11-27 13:14:13 +08:00 committed by Linus Walleij
parent 39d5b6a64a
commit 1d5e8f4bf0

View File

@ -328,6 +328,7 @@ int device_is_dependent(struct device *dev, void *target)
}
return ret;
}
EXPORT_SYMBOL_GPL(device_is_dependent);
static void device_link_init_status(struct device_link *link,
struct device *consumer,