aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-11-28 00:10:19 +0100
committerNeil Armstrong <neil.armstrong@linaro.org>2023-11-28 11:07:28 +0100
commit8dd926689dfa9d8ee64e4fce202d0fdc91fd69fd (patch)
treefb82cd9e86b9e3395fea8148ce4ff33ed8271b8a
parentc13f87efa7488fcd5f4d6e89c8f9d5bb072f9e6e (diff)
downloadlinux-8dd926689dfa9d8ee64e4fce202d0fdc91fd69fd.tar.gz
Revert "driver core: Export device_is_dependent() to modules"
This reverts commit 1d5e8f4bf06da86b71cc9169110d1a0e1e7af337. Greg says: "why exactly is this needed? Nothing outside of the driver core should be needing this function, it shouldn't be public at all (I missed that before.) So please, revert it for now, let's figure out why DRM thinks this is needed for it's devices, and yet no other bus/subsystem does." Link: https://lore.kernel.org/dri-devel/2023112739-willing-sighing-6bdd@gregkh/ Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20231128-revert-panel-fix-v1-1-69bb05048dae@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20231128-revert-panel-fix-v1-1-69bb05048dae@linaro.org
-rw-r--r--drivers/base/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index bfd2bf0364b7cd..67ba592afc7776 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -328,7 +328,6 @@ 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,