cregit-Linux how code gets into the kernel

Release 4.8 include/acpi/button.h

Directory: include/acpi
#ifndef ACPI_BUTTON_H

#define ACPI_BUTTON_H

#include <linux/notifier.h>

#if IS_ENABLED(CONFIG_ACPI_BUTTON)
extern int acpi_lid_notifier_register(struct notifier_block *nb);
extern int acpi_lid_notifier_unregister(struct notifier_block *nb);
extern int acpi_lid_open(void);
#else

static inline int acpi_lid_notifier_register(struct notifier_block *nb) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
jesse barnesjesse barnes15100.00%1100.00%
Total15100.00%1100.00%


static inline int acpi_lid_notifier_unregister(struct notifier_block *nb) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
jesse barnesjesse barnes15100.00%1100.00%
Total15100.00%1100.00%


static inline int acpi_lid_open(void) { return 1; }

Contributors

PersonTokensPropCommitsCommitProp
jesse barnesjesse barnes12100.00%1100.00%
Total12100.00%1100.00%

#endif /* IS_ENABLED(CONFIG_ACPI_BUTTON) */ #endif /* ACPI_BUTTON_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
jesse barnesjesse barnes9097.83%266.67%
sudeep hollasudeep holla22.17%133.33%
Total92100.00%3100.00%
Directory: include/acpi
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.