diff options
Diffstat (limited to 'drivers/acpi/power.c')
-rw-r--r-- | drivers/acpi/power.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index e768eb362932..00d6118ff1ef 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c | |||
@@ -45,10 +45,9 @@ | |||
45 | #include <acpi/acpi_drivers.h> | 45 | #include <acpi/acpi_drivers.h> |
46 | 46 | ||
47 | #define _COMPONENT ACPI_POWER_COMPONENT | 47 | #define _COMPONENT ACPI_POWER_COMPONENT |
48 | ACPI_MODULE_NAME("acpi_power") | 48 | ACPI_MODULE_NAME("power"); |
49 | #define ACPI_POWER_COMPONENT 0x00800000 | 49 | #define ACPI_POWER_COMPONENT 0x00800000 |
50 | #define ACPI_POWER_CLASS "power_resource" | 50 | #define ACPI_POWER_CLASS "power_resource" |
51 | #define ACPI_POWER_DRIVER_NAME "ACPI Power Resource Driver" | ||
52 | #define ACPI_POWER_DEVICE_NAME "Power Resource" | 51 | #define ACPI_POWER_DEVICE_NAME "Power Resource" |
53 | #define ACPI_POWER_FILE_INFO "info" | 52 | #define ACPI_POWER_FILE_INFO "info" |
54 | #define ACPI_POWER_FILE_STATUS "state" | 53 | #define ACPI_POWER_FILE_STATUS "state" |
@@ -61,7 +60,7 @@ static int acpi_power_resume(struct acpi_device *device); | |||
61 | static int acpi_power_open_fs(struct inode *inode, struct file *file); | 60 | static int acpi_power_open_fs(struct inode *inode, struct file *file); |
62 | 61 | ||
63 | static struct acpi_driver acpi_power_driver = { | 62 | static struct acpi_driver acpi_power_driver = { |
64 | .name = ACPI_POWER_DRIVER_NAME, | 63 | .name = "power", |
65 | .class = ACPI_POWER_CLASS, | 64 | .class = ACPI_POWER_CLASS, |
66 | .ids = ACPI_POWER_HID, | 65 | .ids = ACPI_POWER_HID, |
67 | .ops = { | 66 | .ops = { |