commit | 925d65e6d8a4c84c54fbad060f32385b57e210ed | [log] [tgz] |
---|---|---|
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | Mon Aug 22 21:18:27 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 23 00:13:11 2016 -0700 |
tree | 4ba55e7cdf9103b459399fe1e6604d1b9e9be8c1 | |
parent | e05107e6b74700762e2feda0abd2e74984c24227 [diff] |
net: ethernet: ti: davinci_cpdma: move cpdma channel struct macroses to internals Keep the driver internals in C file. Currently it's not required for drivers to know rx or tx a channel is, except create function. So correct "channel create" function, and use all channel struct macroses only for internal use. Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>