cregit-Linux how code gets into the kernel

Release 4.14 include/acpi/button.h

Directory: include/acpi
/* SPDX-License-Identifier: GPL-2.0 */
#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 Barnes15100.00%1100.00%
Total15100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Jesse Barnes15100.00%1100.00%
Total15100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Jesse Barnes12100.00%1100.00%
Total12100.00%1100.00%

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

Overall Contributors

PersonTokensPropCommitsCommitProp
Jesse Barnes9096.77%250.00%
Sudeep Holla22.15%125.00%
Greg Kroah-Hartman11.08%125.00%
Total93100.00%4100.00%
Directory: include/acpi
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.