Browse Source

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 <zonque@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Daniel Mack 12 years ago
parent
commit
0ca04b6380
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/ethernet/ti/davinci_cpdma.c

+ 1 - 0
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)
 {