]> 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)
commitd9725f1a22d7a5a35151fba619cc0c1436038555
treead05e17da221861bf3eedf3e1aa48fabbb191774
parentcec54f999a6cf0a4620f997b22ee81833c3052db
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