]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mtk-star-emac: store bit_clk_div in compat structure
authorBiao Huang <biao.huang@mediatek.com>
Wed, 29 Jun 2022 03:17:34 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 12:45:30 +0000 (13:45 +0100)
commitde869f08b8a25d96829f76283a02f4ae9d031440
treeff6ce5fe4d8d3351613ee973a48afe075dd7f8db
parenteab0ac1d71206a0c027983e488cc28fa938015ce
net: ethernet: mtk-star-emac: store bit_clk_div in compat structure

Not all the SoC are using the same clock divider. Move the divider into
a compat structure specific to the SoCs.

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: Fabien Parent <fparent@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_star_emac.c