Commit | Line | Data |
---|---|---|
5cf2c75b VO |
1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
2 | ||
3 | #ifndef __DSA_DEVLINK_H | |
4 | #define __DSA_DEVLINK_H | |
5 | ||
6 | struct dsa_port; | |
7aea535d | 7 | struct dsa_switch; |
5cf2c75b VO |
8 | |
9 | int dsa_port_devlink_setup(struct dsa_port *dp); | |
10 | void dsa_port_devlink_teardown(struct dsa_port *dp); | |
7aea535d VO |
11 | void dsa_switch_devlink_register(struct dsa_switch *ds); |
12 | void dsa_switch_devlink_unregister(struct dsa_switch *ds); | |
13 | int dsa_switch_devlink_alloc(struct dsa_switch *ds); | |
14 | void dsa_switch_devlink_free(struct dsa_switch *ds); | |
5cf2c75b VO |
15 | |
16 | #endif |