summaryrefslogtreecommitdiff
path: root/net/dsa/switch.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dsa/switch.h')
-rw-r--r--net/dsa/switch.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dsa/switch.h b/net/dsa/switch.h
new file mode 100644
index 000000000000..b831b6fb45e9
--- /dev/null
+++ b/net/dsa/switch.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __DSA_SWITCH_H
+#define __DSA_SWITCH_H
+
+struct dsa_switch;
+
+int dsa_switch_register_notifier(struct dsa_switch *ds);
+void dsa_switch_unregister_notifier(struct dsa_switch *ds);
+
+#endif