]> git.karo-electronics.de Git - linux-beck.git/commit
net: cwdavinci_cpdma: export symbols for cpsw
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Feb 2013 16:53:01 +0000 (17:53 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Feb 2013 12:16:29 +0000 (13:16 +0100)
commit6929e24e4cc46ce8d5b7dd8f8bdf4244c8d77f76
tree08369b4641caacf4a5f0e794a9809afee140b7ff
parent0bef6c933f3ec67c978e2cd0e20b389084ddc600
net: cwdavinci_cpdma: export symbols for cpsw

With the support for ARM AM33xx in multiplatform kernels
in 3.9, an older bug appears in ARM allmodconfig:
When the cpsw driver is built as a module with cpdma
support enabled, it uses symbols that the cpdma driver
does not export.

Without this patch, building allmodconfig results in:

ERROR: "cpdma_ctlr_int_ctrl" [drivers/net/ethernet/ti/ti_cpsw.ko] undefined!
ERROR: "cpdma_control_set" [drivers/net/ethernet/ti/ti_cpsw.ko] undefined!
ERROR: "cpdma_ctlr_eoi" [drivers/net/ethernet/ti/ti_cpsw.ko] undefined!

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: netdev@vger.kernel.org
drivers/net/ethernet/ti/davinci_cpdma.c