diff options
Diffstat (limited to 'drivers/acpi/acpi_memhotplug.c')
-rw-r--r-- | drivers/acpi/acpi_memhotplug.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c index cd946ed192d3..c26172671fd8 100644 --- a/drivers/acpi/acpi_memhotplug.c +++ b/drivers/acpi/acpi_memhotplug.c | |||
@@ -35,14 +35,13 @@ | |||
35 | #define ACPI_MEMORY_DEVICE_COMPONENT 0x08000000UL | 35 | #define ACPI_MEMORY_DEVICE_COMPONENT 0x08000000UL |
36 | #define ACPI_MEMORY_DEVICE_CLASS "memory" | 36 | #define ACPI_MEMORY_DEVICE_CLASS "memory" |
37 | #define ACPI_MEMORY_DEVICE_HID "PNP0C80" | 37 | #define ACPI_MEMORY_DEVICE_HID "PNP0C80" |
38 | #define ACPI_MEMORY_DEVICE_DRIVER_NAME "Hotplug Mem Driver" | ||
39 | #define ACPI_MEMORY_DEVICE_NAME "Hotplug Mem Device" | 38 | #define ACPI_MEMORY_DEVICE_NAME "Hotplug Mem Device" |
40 | 39 | ||
41 | #define _COMPONENT ACPI_MEMORY_DEVICE_COMPONENT | 40 | #define _COMPONENT ACPI_MEMORY_DEVICE_COMPONENT |
42 | 41 | ||
43 | ACPI_MODULE_NAME("acpi_memory") | 42 | ACPI_MODULE_NAME("acpi_memhotplug"); |
44 | MODULE_AUTHOR("Naveen B S <naveen.b.s@intel.com>"); | 43 | MODULE_AUTHOR("Naveen B S <naveen.b.s@intel.com>"); |
45 | MODULE_DESCRIPTION(ACPI_MEMORY_DEVICE_DRIVER_NAME); | 44 | MODULE_DESCRIPTION("Hotplug Mem Driver"); |
46 | MODULE_LICENSE("GPL"); | 45 | MODULE_LICENSE("GPL"); |
47 | 46 | ||
48 | /* ACPI _STA method values */ | 47 | /* ACPI _STA method values */ |
@@ -60,7 +59,7 @@ static int acpi_memory_device_remove(struct acpi_device *device, int type); | |||
60 | static int acpi_memory_device_start(struct acpi_device *device); | 59 | static int acpi_memory_device_start(struct acpi_device *device); |
61 | 60 | ||
62 | static struct acpi_driver acpi_memory_device_driver = { | 61 | static struct acpi_driver acpi_memory_device_driver = { |
63 | .name = ACPI_MEMORY_DEVICE_DRIVER_NAME, | 62 | .name = "acpi_memhotplug", |
64 | .class = ACPI_MEMORY_DEVICE_CLASS, | 63 | .class = ACPI_MEMORY_DEVICE_CLASS, |
65 | .ids = ACPI_MEMORY_DEVICE_HID, | 64 | .ids = ACPI_MEMORY_DEVICE_HID, |
66 | .ops = { | 65 | .ops = { |