diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-10-01 22:17:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-02 19:25:11 +0300 |
commit | 09c1b412558b8adf01f733dfe665b5f75dfdf347 (patch) | |
tree | 6b798b128da34e4db75d805ac5405e4297587246 /drivers/net/dsa/sja1105/sja1105_clocking.c | |
parent | 5cf37738e0efcb1b62928bcb17f74a6202acc372 (diff) | |
download | linux-09c1b412558b8adf01f733dfe665b5f75dfdf347.tar.xz |
net: dsa: sja1105: Don't use "inline" function declarations in C files
Let the compiler decide.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_clocking.c')
-rw-r--r-- | drivers/net/dsa/sja1105/sja1105_clocking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_clocking.c b/drivers/net/dsa/sja1105/sja1105_clocking.c index 608126a15d72..2903f5dbd182 100644 --- a/drivers/net/dsa/sja1105/sja1105_clocking.c +++ b/drivers/net/dsa/sja1105/sja1105_clocking.c @@ -405,7 +405,7 @@ sja1105_cfg_pad_mii_id_packing(void *buf, struct sja1105_cfg_pad_mii_id *cmd, } /* Valid range in degrees is an integer between 73.8 and 101.7 */ -static inline u64 sja1105_rgmii_delay(u64 phase) +static u64 sja1105_rgmii_delay(u64 phase) { /* UM11040.pdf: The delay in degree phase is 73.8 + delay_tune * 0.9. * To avoid floating point operations we'll multiply by 10 |