From 0ca04b63801b6cbdaa539c89945982ad9dc8d858 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 22 Aug 2013 13:47:00 +0200 Subject: [PATCH] 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 Signed-off-by: David S. Miller --- 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 031ebc81b50c..90a79462c869 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) { -- 2.20.1