drivers/platform/x86/lenovo/ideapad-laptop.h

Source file repositories/reference/linux-study-clean/drivers/platform/x86/lenovo/ideapad-laptop.h

File Facts

System
Linux kernel
Corpus path
drivers/platform/x86/lenovo/ideapad-laptop.h
Extension
.h
Size
598 bytes
Lines
23
Domain
Driver Families
Bucket
drivers/platform
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#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_ */

Annotation

Implementation Notes