| 1 |
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 |
/* |
| 3 |
* ideapad-laptop.h - Lenovo IdeaPad ACPI Extras |
| 4 |
* |
| 5 |
* Copyright © 2010 Intel Corporation |
| 6 |
* Copyright © 2010 David Woodhouse <[email protected]> |
| 7 |
*/ |
| 8 |
|
| 9 |
#ifndef _IDEAPAD_LAPTOP_H_ |
| 10 |
#define _IDEAPAD_LAPTOP_H_ |
| 11 |
|
| 12 |
#include <linux/notifier.h> |
| 13 |
|
| 14 |
enum ideapad_laptop_notifier_actions { |
| 15 |
IDEAPAD_LAPTOP_YMC_EVENT, |
| 16 |
}; |
| 17 |
|
| 18 |
int ideapad_laptop_register_notifier(struct notifier_block *nb); |
| 19 |
int ideapad_laptop_unregister_notifier(struct notifier_block *nb); |
| 20 |
void ideapad_laptop_call_notifier(unsigned long action, void *data); |
| 21 |
|
| 22 |
#endif /* !_IDEAPAD_LAPTOP_H_ */ |