1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2010, Intel Corporation.
5 * Author: John Fastabend <john.r.fastabend@intel.com>
11 enum dcbevent_notif_type {
16 int register_dcbevent_notifier(struct notifier_block *nb);
17 int unregister_dcbevent_notifier(struct notifier_block *nb);
18 int call_dcbevent_notifiers(unsigned long val, void *v);
21 register_dcbevent_notifier(struct notifier_block *nb)
26 static inline int unregister_dcbevent_notifier(struct notifier_block *nb)
31 static inline int call_dcbevent_notifiers(unsigned long val, void *v)
35 #endif /* CONFIG_DCB */