]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: davinci_cpdma: add missing EXPORTs
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 1 Dec 2016 20:25:28 +0000 (15:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2016 20:27:38 +0000 (15:27 -0500)
commitd2e9685458909e71a929c4f76462cd12db73a4ca
tree09ce923a703f345111c7f16e92cecb68df54d1d5
parente18cd3b441d19bc6d93b7d442fc16fbbd8630988
net: ethernet: ti: davinci_cpdma: add missing EXPORTs

As of commit 441a23f8def9553530959ecf382b30d9f478ca92
("net: ethernet: ti: davinci_cpdma: add set rate for a channel") the
ARM allmodconfig builds would fail modpost with:

ERROR: "cpdma_chan_set_weight" [drivers/net/ethernet/ti/ti_cpsw.ko] undefined!
ERROR: "cpdma_chan_get_rate" [drivers/net/ethernet/ti/ti_cpsw.ko] undefined!
ERROR: "cpdma_chan_get_min_rate" [drivers/net/ethernet/ti/ti_cpsw.ko] undefined!
ERROR: "cpdma_chan_set_rate" [drivers/net/ethernet/ti/ti_cpsw.ko] undefined!

Since these weren't declared as static, it is assumed they were
meant to be shared outside the file, and that modular build testing
was simply overlooked.

Fixes: 441a23f8def9 ("net: ethernet: ti: davinci_cpdma: add set rate for a channel")
Cc: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: linux-omap@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c