diff options
author | 2023-11-27 13:14:13 +0800 | |
---|---|---|
committer | 2023-11-27 17:03:07 +0100 | |
commit | 1d5e8f4bf06da86b71cc9169110d1a0e1e7af337 (patch) | |
tree | 84fd7503fede55390263a8ea9d3ac92e6ee1bc4d /drivers/base/core.c | |
parent | drm/bridge: panel: Check device dependency before managing device link (diff) | |
download | wireguard-linux-1d5e8f4bf06da86b71cc9169110d1a0e1e7af337.tar.xz wireguard-linux-1d5e8f4bf06da86b71cc9169110d1a0e1e7af337.zip |
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
Diffstat (limited to '')
-rw-r--r-- | drivers/base/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 67ba592afc77..bfd2bf0364b7 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, |