[PATCH v5 02/12] net: stmmac: dwmac-stm32: Separate out external clock rate validation
Christophe ROULLIER
christophe.roullier at foss.st.com
Mon Jun 10 04:54:37 PDT 2024
Hi Ratheesh,
On 6/10/24 13:46, Ratheesh Kannoth wrote:
> On 2024-06-07 at 15:27:44, Christophe Roullier (christophe.roullier at foss.st.com) wrote:
>> +static int stm32mp1_validate_ethck_rate(struct plat_stmmacenet_data *plat_dat)
>> +{
>> + struct stm32_dwmac *dwmac = plat_dat->bsp_priv;
>> + const u32 clk_rate = clk_get_rate(dwmac->clk_eth_ck);
> nit: reverse xmas tree, split definitions and assignment.
It is not possible ;-)
second declaration need first one.
More information about the linux-arm-kernel
mailing list