summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-06-19 11:23:51 +0200
committerJakub Kicinski <kuba@kernel.org>2023-06-20 20:44:37 -0700
commit7b5e64a9382528d5e3db0fe714b03090a4b1433b (patch)
tree7c42ca0d61a5449b7d3c6fa51ee6d879bc19747f /drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
parent9bc580609139cfc1f559cdc4bfb2f4862b38503d (diff)
downloadlwn-7b5e64a9382528d5e3db0fe714b03090a4b1433b.tar.gz
lwn-7b5e64a9382528d5e3db0fe714b03090a4b1433b.zip
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 <bartosz.golaszewski@linaro.org> Reviewed-by: Andrew Halaney <ahalaney@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
index 16e856861558..28d2514a8795 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;