From: Bartosz Golaszewski Date: Mon, 19 Jun 2023 09:23:51 +0000 (+0200) Subject: net: stmmac: dwmac-qcom-ethqos: tweak the order of local variables X-Git-Tag: v6.5-rc1~163^2~52^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b5e64a9382528d5e3db0fe714b03090a4b1433b;p=thirdparty%2Fkernel%2Flinux.git net: stmmac: dwmac-qcom-ethqos: tweak the order of local variables Make sure we follow the reverse-xmas tree convention. Signed-off-by: Bartosz Golaszewski Reviewed-by: Andrew Halaney Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c index 16e856861558c..28d2514a87959 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c @@ -594,9 +594,9 @@ static void ethqos_clks_disable(void *data) static int qcom_ethqos_probe(struct platform_device *pdev) { struct device_node *np = pdev->dev.of_node; + const struct ethqos_emac_driver_data *data; struct plat_stmmacenet_data *plat_dat; struct stmmac_resources stmmac_res; - const struct ethqos_emac_driver_data *data; struct qcom_ethqos *ethqos; int ret;