Skip to contentSkip to conversation

net: ethernet: davinci_cpdma: export cpdma_chan_get_stats

PATCH In review Daniel Mack 2 participants 2 messages Aug 22, 2013 – Aug 23, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: ethernet: davinci_cpdma: export cpdma_chan_get_stats

This is needed when the cpsw driver is built as module.

---
 drivers/net/ethernet/ti/davinci_cpdma.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/ti/davinci_cpdma.c +1 -0
index 031ebc8..90a7946 100644
@@ -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
maintainer
#1 lore raw

From: 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.

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.