Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528698 > unrolled thread
| Started by | Robin Murphy <robin.murphy@arm.com> |
|---|---|
| First post | 2016-11-23 20:10 +0100 |
| Last post | 2016-11-24 13:50 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] drivers/of: Export phandle iterators Robin Murphy <robin.murphy@arm.com> - 2016-11-23 20:10 +0100
Re: [PATCH] drivers/of: Export phandle iterators Rob Herring <robh+dt@kernel.org> - 2016-11-23 23:00 +0100
Re: [PATCH] drivers/of: Export phandle iterators Robin Murphy <robin.murphy@arm.com> - 2016-11-24 13:50 +0100
| From | Robin Murphy <robin.murphy@arm.com> |
|---|---|
| Date | 2016-11-23 20:10 +0100 |
| Subject | [PATCH] drivers/of: Export phandle iterators |
| Message-ID | <sGL5D-rk-3@gated-at.bofh.it> |
Modular drivers may want to use of_for_each_phandle() - export its
constituent functions.
CC: Rob Herring <robh+dt@kernel.org>
CC: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
---
drivers/of/base.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index a0bccb54a9bd..92e35fe0189a 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1563,6 +1563,7 @@ int of_phandle_iterator_init(struct of_phandle_iterator *it,
return 0;
}
+EXPORT_SYMBOL_GPL(of_phandle_iterator_init);
int of_phandle_iterator_next(struct of_phandle_iterator *it)
{
@@ -1632,6 +1633,7 @@ int of_phandle_iterator_next(struct of_phandle_iterator *it)
return -EINVAL;
}
+EXPORT_SYMBOL_GPL(of_phandle_iterator_next);
int of_phandle_iterator_args(struct of_phandle_iterator *it,
uint32_t *args,
@@ -1649,6 +1651,7 @@ int of_phandle_iterator_args(struct of_phandle_iterator *it,
return count;
}
+EXPORT_SYMBOL_GPL(of_phandle_iterator_args);
static int __of_parse_phandle_with_args(const struct device_node *np,
const char *list_name,
--
2.10.2.dirty
[toc] | [next] | [standalone]
| From | Rob Herring <robh+dt@kernel.org> |
|---|---|
| Date | 2016-11-23 23:00 +0100 |
| Message-ID | <sGNKa-1Sn-49@gated-at.bofh.it> |
| In reply to | #1528698 |
On Wed, Nov 23, 2016 at 1:06 PM, Robin Murphy <robin.murphy@arm.com> wrote: > Modular drivers may want to use of_for_each_phandle() - export its > constituent functions. Do you have a user? Rob
[toc] | [prev] | [next] | [standalone]
| From | Robin Murphy <robin.murphy@arm.com> |
|---|---|
| Date | 2016-11-24 13:50 +0100 |
| Message-ID | <sH1Dr-2Hg-19@gated-at.bofh.it> |
| In reply to | #1528793 |
Hi Rob, On 23/11/16 21:49, Rob Herring wrote: > On Wed, Nov 23, 2016 at 1:06 PM, Robin Murphy <robin.murphy@arm.com> wrote: >> Modular drivers may want to use of_for_each_phandle() - export its >> constituent functions. > > Do you have a user? I've been experimenting with modular IOMMU drivers on top of the probe-deferral stuff[1], and the ARM SMMU driver in particular demands a whole pile of exports. I thought I'd throw this one out now since nearly all the other of_* functions are exported already, but I'm quite happy to sit on it if you'd prefer to wait for a concrete in-tree need (it'll be a while yet). Robin. [1]:http://www.linux-arm.org/git?p=linux-rm.git;a=shortlog;h=refs/heads/iommu/defer
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web