mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-21 16:31:14 +02:00

Since moving ymc_trigger_ec from lenovo-ymc to ideapad-laptop, only the latter uses these definitions and functions. Move them back to source file. Signed-off-by: Gergo Koteles <soyer@irl.hu> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/57a48d2582b567f6c6fbcd3b379e17aee0fb5a94.1721898747.git.soyer@irl.hu Signed-off-by: Hans de Goede <hdegoede@redhat.com>
23 lines
598 B
C
23 lines
598 B
C
/* 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_ */
|