From: Attila Kinali <hidden> Date: 2012-07-06 09:02:46
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
---
drivers/dma/mxs-dma.c | 3 +++
1 file changed, 3 insertions(+)
On Fri, Jul 06, 2012 at 11:02:46AM +0200, Attila Kinali wrote:
quoted hunk
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
---
drivers/dma/mxs-dma.c | 3 +++
1 file changed, 3 insertions(+)
@@ -779,3 +779,6 @@ static int __init mxs_dma_module_init(void)returnplatform_driver_probe(&mxs_dma_driver,mxs_dma_probe);}subsys_initcall(mxs_dma_module_init);++EXPORT_SYMBOL(mxs_dma_is_apbh);+EXPORT_SYMBOL(mxs_dma_is_apbx);
If i understand correctly, usually we add EXPORT_SYMBOL right below the function
exported.
And can we use EXPORT_SYMBOL_GPL?
It seems both driver using this are gpl licensed.
BTW, maybe you also need change the patch title format a bit:
dma: mxs-dma: ...
Regards
Dong Aisheng
From: Attila Kinali <hidden> Date: 2012-07-06 11:09:52
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
---
drivers/dma/mxs-dma.c | 3 +++
1 file changed, 3 insertions(+)
On Fri, Jul 06, 2012 at 07:09:52PM +0800, Attila Kinali wrote:
quoted hunk
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
---
drivers/dma/mxs-dma.c | 3 +++
1 file changed, 3 insertions(+)
On Fri, Jul 06, 2012 at 07:22:46PM +0800, Attila Kinali wrote:
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
---
drivers/dma/mxs-dma.c | 2 ++
1 file changed, 2 insertions(+)
Blub.. sorry.. forgot to change them to GPL... gimme a second.
Attila Kinali
--
The trouble with you, Shev, is you don't say anything until you've saved
up a whole truckload of damned heavy brick arguments and then you dump
them all out and never look at the bleeding body mangled beneath the heap
-- Tirin, The Dispossessed, U. Le Guin
From: Attila Kinali <hidden> Date: 2012-07-06 11:22:46
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
---
drivers/dma/mxs-dma.c | 2 ++
1 file changed, 2 insertions(+)
Only the patch touching files under arch/arm/ should have "ARM:" in
the patch subject. So you need to drop it from there.
--
Regards,
Shawn
On Fri, Jul 06, 2012 at 01:22:46PM +0200, Attila Kinali wrote:
quoted hunk
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
---
drivers/dma/mxs-dma.c | 2 ++
1 file changed, 2 insertions(+)
@@ -201,6 +201,7 @@ int mxs_dma_is_apbh(struct dma_chan *chan)returndma_is_apbh(mxs_dma);}+EXPORT_SYMBOL_GPL(mxs_dma_is_apbh);intmxs_dma_is_apbx(structdma_chan*chan){
@@ -209,6 +210,7 @@ int mxs_dma_is_apbx(struct dma_chan *chan)return!dma_is_apbh(mxs_dma);}+EXPORT_SYMBOL_GPL(mxs_dma_is_apbx);staticvoidmxs_dma_reset_chan(structmxs_dma_chan*mxs_chan){
--
1.7.10
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
From: Attila Kinali <hidden> Date: 2012-07-06 12:53:20
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
---
drivers/dma/mxs-dma.c | 2 ++
1 file changed, 2 insertions(+)
On Fri, Jul 06, 2012 at 02:53:20PM +0200, Attila Kinali wrote:
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Signed-off-by: Attila Kinali <redacted>
On Fri, 2012-07-06 at 14:53 +0200, Attila Kinali wrote:
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Applied thanks.
Please DO NOT forget to CC maintainers, the patch can get lost
otherwise. get_maintainer.pl is your friend, use it!
--
~Vinod
On Fri, 2012-07-06 at 14:53 +0200, Attila Kinali wrote:
quoted
mxs-dma.c provides two functions mxs_dma_is_apbh and mxs_dma_is_apbx
which are used at least in mxs-mmc.c. Building mxs-mmc as module
fails due to those two symbols not being exported.
Applied thanks.
Thanks a lot!
Please DO NOT forget to CC maintainers, the patch can get lost
otherwise. get_maintainer.pl is your friend, use it!
Oki, i'll keep that in mind.
Attila Kinali
--
The trouble with you, Shev, is you don't say anything until you've saved
up a whole truckload of damned heavy brick arguments and then you dump
them all out and never look at the bleeding body mangled beneath the heap
-- Tirin, The Dispossessed, U. Le Guin