diff options
author | Liu Ying <victor.liu@nxp.com> | 2023-11-27 13:14:13 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-11-27 17:03:07 +0100 |
commit | 1d5e8f4bf06da86b71cc9169110d1a0e1e7af337 (patch) | |
tree | 84fd7503fede55390263a8ea9d3ac92e6ee1bc4d | |
parent | 39d5b6a64ace77d0c11c398d272218df5f939abb (diff) | |
download | linux-stable-1d5e8f4bf06da86b71cc9169110d1a0e1e7af337.tar.gz linux-stable-1d5e8f4bf06da86b71cc9169110d1a0e1e7af337.tar.bz2 linux-stable-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
-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, |