[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231127051414.3783108-2-victor.liu@nxp.com>
Date: Mon, 27 Nov 2023 13:14:13 +0800
From: Liu Ying <victor.liu@....com>
To: linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Cc: linux-next@...r.kernel.org, sfr@...b.auug.org.au,
gregkh@...uxfoundation.org, rafael@...nel.org,
andrzej.hajda@...el.com, neil.armstrong@...aro.org,
rfoss@...nel.org, Laurent.pinchart@...asonboard.com,
jonas@...boo.se, jernej.skrabec@...il.com,
maarten.lankhorst@...ux.intel.com, mripard@...nel.org,
tzimmermann@...e.de, airlied@...il.com, daniel@...ll.ch,
angelogioacchino.delregno@...labora.com, ulf.hansson@...aro.org,
linus.walleij@...aro.org
Subject: [PATCH v2 1/2] 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@....com>
---
v2:
* Newly introduced as needed by patch 2.
drivers/base/core.c | 1 +
1 file changed, 1 insertion(+)
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,
--
2.37.1
Powered by blists - more mailing lists