projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d5b6a
)
driver core: Export device_is_dependent() to modules
author
Liu Ying
<victor.liu@nxp.com>
Mon, 27 Nov 2023 05:14:13 +0000
(13:14 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 27 Nov 2023 16:03:07 +0000
(17:03 +0100)
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
drivers/base/core.c
patch
|
blob
|
history
diff --git
a/drivers/base/core.c
b/drivers/base/core.c
index 67ba592afc7776420995c8730af8200ad12e3e90..bfd2bf0364b7cd340920b519c2b09de44b45c5c9 100644
(file)
--- 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,