]> 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)
commit2041cb461616a84776827274ed623a56cfa8e8ea
treef5e00abb40159ff2ecd17b333965dd32c9a08eb5
parent8ae178b37687ea7e5f2dc3eb7f35aaf9d28e8b5f
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