forked from mirror/openwrt
realtek: Fix order of "static" + "inline" keywords
THe correct order (which the rest of the code is using) is "static inline". Signed-off-by: Sven Eckelmann <sven@narfation.org> Link: https://github.com/openwrt/openwrt/pull/20906 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
1f1cafb217
commit
18262471f3
3 changed files with 3 additions and 3 deletions
|
|
@ -278,7 +278,7 @@ static int rtldsa_838x_get_mirror_config(struct rtldsa_mirror_config *config,
|
|||
return 0;
|
||||
}
|
||||
|
||||
inline static int rtl838x_trk_mbr_ctr(int group)
|
||||
static inline int rtl838x_trk_mbr_ctr(int group)
|
||||
{
|
||||
return RTL838X_TRK_MBR_CTR + (group << 2);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ static int rtldsa_930x_port_rate_police_del(struct dsa_switch *ds, int port,
|
|||
return 0;
|
||||
}
|
||||
|
||||
inline static int rtl930x_trk_mbr_ctr(int group)
|
||||
static inline int rtl930x_trk_mbr_ctr(int group)
|
||||
{
|
||||
return RTL930X_TRK_MBR_CTRL + (group << 2);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ static void rtl931x_stp_set(struct rtl838x_switch_priv *priv, u16 msti, u32 port
|
|||
priv->r->exec_tbl0_cmd(cmd);
|
||||
}
|
||||
|
||||
inline static int rtldsa_931x_trk_mbr_ctr(int group)
|
||||
static inline int rtldsa_931x_trk_mbr_ctr(int group)
|
||||
{
|
||||
return RTL931X_TRK_MBR_CTRL + (group << 3);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue