Re: [PATCH v3 2/3] stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure

2017-01-04 Thread Niklas Cassel
Tested-by: Niklas Cassel On 01/04/2017 05:22 PM, Joao Pinto wrote: > This patch moves stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to the > plat_stmmacenet_data structure. It also moves these platform variables > initialization to stmmac_platform. This was done for two

[PATCH v3 2/3] stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure

2017-01-04 Thread Joao Pinto
This patch moves stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to the plat_stmmacenet_data structure. It also moves these platform variables initialization to stmmac_platform. This was done for two reasons: a) If PCI is used, platform related code is being executed in stmmac_main resulting in