* [PATCH] net: ethernet: davinci_cpdma: export cpdma_chan_get_stats
@ 2013-08-22 11:47 Daniel Mack
2013-08-23 3:49 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Mack @ 2013-08-22 11:47 UTC (permalink / raw)
To: netdev
Cc: davem, ujhelyi.m, mugunthanvnm, vaibhav.bedia, d-gerlach,
Daniel Mack
This is needed when the cpsw driver is built as module.
Signed-off-by: Daniel Mack <zonque@gmail.com>
---
drivers/net/ethernet/ti/davinci_cpdma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/drivers/net/ethernet/ti/davinci_cpdma.c
index 031ebc8..90a7946 100644
--- a/drivers/net/ethernet/ti/davinci_cpdma.c
+++ b/drivers/net/ethernet/ti/davinci_cpdma.c
@@ -591,6 +591,7 @@ int cpdma_chan_get_stats(struct cpdma_chan *chan,
spin_unlock_irqrestore(&chan->lock, flags);
return 0;
}
+EXPORT_SYMBOL_GPL(cpdma_chan_get_stats);
int cpdma_chan_dump(struct cpdma_chan *chan)
{
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: ethernet: davinci_cpdma: export cpdma_chan_get_stats
2013-08-22 11:47 [PATCH] net: ethernet: davinci_cpdma: export cpdma_chan_get_stats Daniel Mack
@ 2013-08-23 3:49 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-08-23 3:49 UTC (permalink / raw)
To: zonque; +Cc: netdev, ujhelyi.m, mugunthanvnm, vaibhav.bedia, d-gerlach
From: Daniel Mack <zonque@gmail.com>
Date: Thu, 22 Aug 2013 13:47:00 +0200
> This is needed when the cpsw driver is built as module.
>
> Signed-off-by: Daniel Mack <zonque@gmail.com>
Only in net-next, because in 'net' the function (while it does exist)
is not referenced by anything.
So I have applied this patch to net-next.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-23 3:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-22 11:47 [PATCH] net: ethernet: davinci_cpdma: export cpdma_chan_get_stats Daniel Mack
2013-08-23 3:49 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).