]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-meson8b: make the clock configurations private
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 17 Feb 2018 14:08:20 +0000 (15:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Feb 2018 16:26:31 +0000 (11:26 -0500)
commit9a19fe02f6296960a8e085356a31e12a6836c27a
treef5e00abb40159ff2ecd17b333965dd32c9a08eb5
parent8090b45ad0c6d3b1c791f64aac346bc73f83985d
net: stmmac: dwmac-meson8b: make the clock configurations private

The common clock framework needs access to the "clock configuration"
structs during runtime.
However, only the common clock framework should access these. Ensure
this by moving the configuration structs out of struct meson8b_dwmac,
so only meson8b_init_rgmii_tx_clk() and the common clock framework know
about these configurations.

Suggested-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c