mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
ACPI_BATTERY_CLASS is used in multiple places. Also, I'll use ACPI_BATTERY_NOTIFY_STATUS inside AC driver in one of following patches. So, create a header file and move ACPI_BATTERY_CLASS and ACPI_BATTERY_NOTIFY_* definitions into it. Also, remove copy of ACPI_BATTERY_CLASS from sbs.c Signed-off-by: Alexander Mezin <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
11 lines
220 B
C
11 lines
220 B
C
#ifndef __ACPI_BATTERY_H
|
|
#define __ACPI_BATTERY_H
|
|
|
|
#define ACPI_BATTERY_CLASS "battery"
|
|
|
|
#define ACPI_BATTERY_NOTIFY_STATUS 0x80
|
|
#define ACPI_BATTERY_NOTIFY_INFO 0x81
|
|
#define ACPI_BATTERY_NOTIFY_THRESHOLD 0x82
|
|
|
|
#endif
|