net: ethernet: davinci_cpdma: export cpdma_chan_get_stats
Subsystems (3)
PATCH 1/1 net: ethernet: davinci_cpdma: export cpdma_chan_get_stats
This is needed when the cpsw driver is built as module.
Signed-off-by Daniel Mack <[email protected]>
--- drivers/net/ethernet/ti/davinci_cpdma.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/ti/davinci_cpdma.c +1 -0
@@ -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) {
Signature · 1 line
1.8.3.1
David Miller
maintainerFrom: Daniel Mack <[email protected]>
Date: Thu, 22 Aug 2013 13:47:00 +0200
Quoted 3 lines
This is needed when the cpsw driver is built as module.
Signed-off-by Daniel Mack <[email protected]>
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.