gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / ethernet / intel / ice / ice_dcb_nl.h
blob6c630a362293713c6f2eaaa364aae134fd4bdf95
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2019, Intel Corporation. */
4 #ifndef _ICE_DCB_NL_H_
5 #define _ICE_DCB_NL_H_
7 #ifdef CONFIG_DCB
8 void ice_dcbnl_setup(struct ice_vsi *vsi);
9 void ice_dcbnl_set_all(struct ice_vsi *vsi);
10 void
11 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg,
12 struct ice_dcbx_cfg *new_cfg);
13 #else
14 #define ice_dcbnl_setup(vsi) do {} while (0)
15 #define ice_dcbnl_set_all(vsi) do {} while (0)
16 #define ice_dcbnl_flush_apps(pf, old_cfg, new_cfg) do {} while (0)
17 #endif /* CONFIG_DCB */
19 #endif /* _ICE_DCB_NL_H_ */