OSDN Git Service

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)
commit22eac913fe27c5970a9e3815cf3fac8c36a7b35c
treead05e17da221861bf3eedf3e1aa48fabbb191774
parent25d4dae1a64f7abc5d40faef08f7c7de2a5ece79
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