VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2019-11-26 10:30:12 +0100 committer: Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2019-11-26 10:30:12 +0100 commit: 1fca7e0e6fe6804294f51991f2ea82432ea5ed1b parent: 713608a30b0a5f5b0866a7c4f462e51b362ee06d
Commit Summary:
Merge branches 'acpi-ec', 'acpi-soc', 'acpi-pmic' and 'acpi-button'
Diffstat:
1 file changed, 0 insertions, 12 deletions
diff --git a/include/acpi/button.h b/include/acpi/button.h
index 3a2b8535dec6..340da7784cc8 100644
--- a/include/acpi/button.h
+++ b/include/acpi/button.h
@@ -2,21 +2,9 @@
 #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;
-}
-static inline int acpi_lid_notifier_unregister(struct notifier_block *nb)
-{
-	return 0;
-}
 static inline int acpi_lid_open(void)
 {
 	return 1;