1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2018 MediaTek Inc.
4 * Author: Weijie Gao <weijie.gao@mediatek.com>
7 #ifndef _MT753X_SWCONFIG_H_
8 #define _MT753X_SWCONFIG_H_
10 #ifdef CONFIG_SWCONFIG
11 #include <linux/switch.h>
14 int mt753x_swconfig_init(struct gsw_mt753x
*gsw
);
15 void mt753x_swconfig_destroy(struct gsw_mt753x
*gsw
);
17 static inline int mt753x_swconfig_init(struct gsw_mt753x
*gsw
)
19 mt753x_apply_vlan_config(gsw
);
24 static inline void mt753x_swconfig_destroy(struct gsw_mt753x
*gsw
)
29 #endif /* _MT753X_SWCONFIG_H_ */