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