Debian Codegraph @

drivers/platform/x86/lenovo/wmi-events.h

raw
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /* Copyright (C) 2025 Derek J. Clark <[email protected]> */
4
5 #ifndef _LENOVO_WMI_EVENTS_H_
6 #define _LENOVO_WMI_EVENTS_H_
7
8 struct device;
9 struct notifier_block;
10
11 enum lwmi_events_type {
12 LWMI_EVENT_THERMAL_MODE = 1,
13 };
14
15 int lwmi_events_register_notifier(struct notifier_block *nb);
16 int lwmi_events_unregister_notifier(struct notifier_block *nb);
17 int devm_lwmi_events_register_notifier(struct device *dev,
18 struct notifier_block *nb);
19
20 #endif /* !_LENOVO_WMI_EVENTS_H_ */