[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211210102923.v18.2.Ie1de382686d61909e17fa8def2b83899256e8f5d@changeid>
Date: Fri, 10 Dec 2021 10:30:18 -0800
From: Matthias Kaehlcke <mka@...omium.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alan Stern <stern@...land.harvard.edu>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
Mathias Nyman <mathias.nyman@...el.com>,
Felipe Balbi <balbi@...nel.org>
Cc: Peter Chen <peter.chen@...nel.org>, linux-kernel@...r.kernel.org,
Bastien Nocera <hadess@...ess.net>, devicetree@...r.kernel.org,
linux-usb@...r.kernel.org, Stephen Boyd <swboyd@...omium.org>,
Douglas Anderson <dianders@...omium.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Michal Simek <michal.simek@...inx.com>,
Roger Quadros <rogerq@...nel.org>,
Ravi Chandra Sadineni <ravisadineni@...omium.org>,
Matthias Kaehlcke <mka@...omium.org>,
"Rafael J. Wysocki" <rafael@...nel.org>
Subject: [PATCH v18 2/5] driver core: Export device_is_bound()
Export device_is_bound() to enable its use by drivers that are
built as modules.
Signed-off-by: Matthias Kaehlcke <mka@...omium.org>
---
Changes in v18:
- patch added to the series
drivers/base/dd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 68ea1f949daa..07eefddd4a77 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -370,6 +370,7 @@ bool device_is_bound(struct device *dev)
{
return dev->p && klist_node_attached(&dev->p->knode_driver);
}
+EXPORT_SYMBOL_GPL(device_is_bound);
static void driver_bound(struct device *dev)
{
--
2.34.1.173.g76aa8bc2d0-goog
Powered by blists - more mailing lists