net: ethernet: davinci_cpdma: export cpdma_chan_get_stats
authorDaniel Mack <zonque@gmail.com>
Thu, 22 Aug 2013 11:47:00 +0000 (13:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2013 03:48:21 +0000 (20:48 -0700)
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>
drivers/net/ethernet/ti/davinci_cpdma.c

index 031ebc8..90a7946 100644 (file)
@@ -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)
 {