Re: [PATCH] of: add EXPORT_SYMBOL for of_device_compatible_match

2017-02-17 Thread Corentin Labbe
On Wed, Feb 15, 2017 at 07:34:57AM -0800, Frank Rowand wrote: > On 02/15/17 06:22, Corentin Labbe wrote: > > This symbol will be needed for the dwmac-sun8i ethernet driver. > > For letting it to be build as module, of_device_compatible_match need to > > be exported. > > > > Signed-off-by: Corentin

Re: [PATCH] of: add EXPORT_SYMBOL for of_device_compatible_match

2017-02-15 Thread Frank Rowand
On 02/15/17 06:22, Corentin Labbe wrote: > This symbol will be needed for the dwmac-sun8i ethernet driver. > For letting it to be build as module, of_device_compatible_match need to > be exported. > > Signed-off-by: Corentin Labbe > --- > drivers/of/base.c | 1 + > 1 file changed, 1 insertion(+)

[PATCH] of: add EXPORT_SYMBOL for of_device_compatible_match

2017-02-15 Thread Corentin Labbe
This symbol will be needed for the dwmac-sun8i ethernet driver. For letting it to be build as module, of_device_compatible_match need to be exported. Signed-off-by: Corentin Labbe --- drivers/of/base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/base.c b/drivers/of/base.c inde

Re: [PATCH] of: Add EXPORT_SYMBOL for of_device_compatible_match

2017-01-16 Thread Rob Herring
On Mon, Jan 16, 2017 at 7:11 AM, Neil Armstrong wrote: > Add missing EXPORT_SYMBOL for of_device_compatible_match function. It's not missing because no modules use it. It's generally preferred to use a match table and of_match_node. Rob > > Fixes: b9c13fe32faa ("dt: Add of_device_compatible_mat

[PATCH] of: Add EXPORT_SYMBOL for of_device_compatible_match

2017-01-16 Thread Neil Armstrong
Add missing EXPORT_SYMBOL for of_device_compatible_match function. Fixes: b9c13fe32faa ("dt: Add of_device_compatible_match()") Signed-off-by: Neil Armstrong --- drivers/of/base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index d4bea3c..dfbcf17 100