]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: constify clk_div_table
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 28 Aug 2017 05:52:20 +0000 (11:22 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Aug 2017 17:56:42 +0000 (10:56 -0700)
commit3232608befd4507a340b3b72107de3c41724607b
treead05e17da221861bf3eedf3e1aa48fabbb191774
parentd991a94c6cb533776bc29f656f2469a44a103067
net: stmmac: constify clk_div_table

clk_div_table are not supposed to change at runtime.
meson8b_dwmac structure is working with const clk_div_table.
So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c