From: Liu Ying Date: Mon, 27 Nov 2023 05:14:13 +0000 (+0800) Subject: driver core: Export device_is_dependent() to modules X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1d5e8f4bf06da86b71cc9169110d1a0e1e7af337;p=linux.git 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 Signed-off-by: Linus Walleij Link: https://patchwork.freedesktop.org/patch/msgid/20231127051414.3783108-2-victor.liu@nxp.com --- diff --git a/drivers/base/core.c b/drivers/base/core.c index 67ba592afc777..bfd2bf0364b7c 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -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,