| /* SPDX-License-Identifier: GPL-2.0-only */ |
| * Copyright (c) 2010, Intel Corporation. |
| * Author: John Fastabend <john.r.fastabend@intel.com> |
| enum dcbevent_notif_type { |
| int register_dcbevent_notifier(struct notifier_block *nb); |
| int unregister_dcbevent_notifier(struct notifier_block *nb); |
| int call_dcbevent_notifiers(unsigned long val, void *v); |
| register_dcbevent_notifier(struct notifier_block *nb) |
| static inline int unregister_dcbevent_notifier(struct notifier_block *nb) |
| static inline int call_dcbevent_notifiers(unsigned long val, void *v) |