]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw_ale: use const for API having pointer on mac address
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Fri, 12 Oct 2018 15:28:14 +0000 (18:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Oct 2018 05:21:27 +0000 (22:21 -0700)
commit69e8539aab36958e811ee5507863381c377c8e3a
treea35937848bce9bda230d14461be1dc1770fc39f1
parent367fa64f03169dd6ff361fcd1a6f5f397eb92fee
net: ethernet: ti: cpsw_ale: use const for API having pointer on mac address

It allows to use function under callbacks with same const qualifier of
mac address for farther changes.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw_ale.c
drivers/net/ethernet/ti/cpsw_ale.h