1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #ifndef __DSA_SWITCH_H 4 #define __DSA_SWITCH_H 5 6 struct dsa_switch_tree; 7 struct dsa_switch; 8 9 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v); 10 int dsa_broadcast(unsigned long e, void *v); 11 12 int dsa_switch_register_notifier(struct dsa_switch *ds); 13 void dsa_switch_unregister_notifier(struct dsa_switch *ds); 14 15 #endif 16