Th function to set the mangement frames receive actions is only used in the
SoC specific files. They can therefore be kept local without any
declaration in headers.
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20704
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
void rtl931x_print_matrix(void);
-void rtldsa_930x_set_receive_management_action(int port, rma_ctrl_t type, action_type_t action);
-void rtldsa_931x_set_receive_management_action(int port, rma_ctrl_t type, action_type_t action);
-
#endif /* _NET_DSA_RTL83XX_H */
rtl_table_release(q);
}
-void rtldsa_930x_set_receive_management_action(int port, rma_ctrl_t type,
- action_type_t action)
+static void rtldsa_930x_set_receive_management_action(int port, rma_ctrl_t type,
+ action_type_t action)
{
u32 shift;
u32 value;
rtl_table_release(r);
}
-void rtldsa_931x_set_receive_management_action(int port, rma_ctrl_t type, action_type_t action)
+static void rtldsa_931x_set_receive_management_action(int port, rma_ctrl_t type,
+ action_type_t action)
{
u32 shift;
u32 value;