OSDN Git Service

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)
commitc16cc6a0667262dcf7bec9f74c9740079a46802d
treeff6ce5fe4d8d3351613ee973a48afe075dd7f8db
parentbfc715146ea6dca52c97f7d59b0a2e35ff4aa772
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