OSDN Git Service

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)
commit8076759dc7d8fc2e7b6f30ea754e85e5b31e0be5
treef5e00abb40159ff2ecd17b333965dd32c9a08eb5
parentb756371e10d7809d77ac7f1f0b37a29e17e6a889
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