ath79/mikrotik: use routerbootpart partitions
[oweals/openwrt.git] / target / linux / layerscape / patches-5.4 / 701-net-0290-staging-fsl_ppfe-eth-Make-phy_ethtool_ksettings_get-.patch
1 From 48d54be45c3b8735f90792e6480e7d6cf0ec1586 Mon Sep 17 00:00:00 2001
2 From: Calvin Johnson <calvin.johnson@nxp.com>
3 Date: Fri, 27 Oct 2017 11:20:47 +0530
4 Subject: [PATCH] staging: fsl_ppfe/eth: Make phy_ethtool_ksettings_get return
5  void
6
7 Make return value void since function never return meaningful value
8
9 Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
10 ---
11  drivers/staging/fsl_ppfe/pfe_eth.c | 4 +++-
12  1 file changed, 3 insertions(+), 1 deletion(-)
13
14 --- a/drivers/staging/fsl_ppfe/pfe_eth.c
15 +++ b/drivers/staging/fsl_ppfe/pfe_eth.c
16 @@ -577,7 +577,9 @@ static int pfe_eth_get_settings(struct n
17         if (!phydev)
18                 return -ENODEV;
19  
20 -       return phy_ethtool_ksettings_get(phydev, cmd);
21 +       phy_ethtool_ksettings_get(phydev, cmd);
22 +
23 +       return 0;
24  }
25  
26  /*