diff options
Diffstat (limited to 'drivers/acpi/battery.c')
-rw-r--r-- | drivers/acpi/battery.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 2f4521a48fe7..02de49ef1bce 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #define ACPI_BATTERY_COMPONENT 0x00040000 | 42 | #define ACPI_BATTERY_COMPONENT 0x00040000 |
43 | #define ACPI_BATTERY_CLASS "battery" | 43 | #define ACPI_BATTERY_CLASS "battery" |
44 | #define ACPI_BATTERY_HID "PNP0C0A" | 44 | #define ACPI_BATTERY_HID "PNP0C0A" |
45 | #define ACPI_BATTERY_DRIVER_NAME "ACPI Battery Driver" | ||
46 | #define ACPI_BATTERY_DEVICE_NAME "Battery" | 45 | #define ACPI_BATTERY_DEVICE_NAME "Battery" |
47 | #define ACPI_BATTERY_FILE_INFO "info" | 46 | #define ACPI_BATTERY_FILE_INFO "info" |
48 | #define ACPI_BATTERY_FILE_STATUS "state" | 47 | #define ACPI_BATTERY_FILE_STATUS "state" |
@@ -53,10 +52,10 @@ | |||
53 | #define ACPI_BATTERY_UNITS_AMPS "mA" | 52 | #define ACPI_BATTERY_UNITS_AMPS "mA" |
54 | 53 | ||
55 | #define _COMPONENT ACPI_BATTERY_COMPONENT | 54 | #define _COMPONENT ACPI_BATTERY_COMPONENT |
56 | ACPI_MODULE_NAME("acpi_battery") | 55 | ACPI_MODULE_NAME("battery"); |
57 | 56 | ||
58 | MODULE_AUTHOR("Paul Diefenbaugh"); | 57 | MODULE_AUTHOR("Paul Diefenbaugh"); |
59 | MODULE_DESCRIPTION(ACPI_BATTERY_DRIVER_NAME); | 58 | MODULE_DESCRIPTION("ACPI Battery Driver"); |
60 | MODULE_LICENSE("GPL"); | 59 | MODULE_LICENSE("GPL"); |
61 | 60 | ||
62 | extern struct proc_dir_entry *acpi_lock_battery_dir(void); | 61 | extern struct proc_dir_entry *acpi_lock_battery_dir(void); |
@@ -67,7 +66,7 @@ static int acpi_battery_remove(struct acpi_device *device, int type); | |||
67 | static int acpi_battery_resume(struct acpi_device *device); | 66 | static int acpi_battery_resume(struct acpi_device *device); |
68 | 67 | ||
69 | static struct acpi_driver acpi_battery_driver = { | 68 | static struct acpi_driver acpi_battery_driver = { |
70 | .name = ACPI_BATTERY_DRIVER_NAME, | 69 | .name = "battery", |
71 | .class = ACPI_BATTERY_CLASS, | 70 | .class = ACPI_BATTERY_CLASS, |
72 | .ids = ACPI_BATTERY_HID, | 71 | .ids = ACPI_BATTERY_HID, |
73 | .ops = { | 72 | .ops = { |