summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/ideapad-laptop.h
blob: 1e52f2aa0aac38dc6c82104792a818c223632a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *  ideapad-laptop.h - Lenovo IdeaPad ACPI Extras
 *
 *  Copyright © 2010 Intel Corporation
 *  Copyright © 2010 David Woodhouse <dwmw2@infradead.org>
 */

#ifndef _IDEAPAD_LAPTOP_H_
#define _IDEAPAD_LAPTOP_H_

#include <linux/notifier.h>

enum ideapad_laptop_notifier_actions {
	IDEAPAD_LAPTOP_YMC_EVENT,
};

int ideapad_laptop_register_notifier(struct notifier_block *nb);
int ideapad_laptop_unregister_notifier(struct notifier_block *nb);
void ideapad_laptop_call_notifier(unsigned long action, void *data);

#endif /* !_IDEAPAD_LAPTOP_H_ */