提交 37cabc81 编写于 作者: R Robert P. J. Day 提交者: Len Brown

ACPI: Correct ACPI_DEBUG_OUTPUT typo

-#ifdef CONFIG_ACPI_DEBUG_OUTPUT
+#ifdef ACPI_DEBUG_OUTPUT

As the former doesn't exist.
Signed-off-by: NRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 5263bf65
...@@ -891,7 +891,7 @@ static int acpi_device_set_context(struct acpi_device *device, int type) ...@@ -891,7 +891,7 @@ static int acpi_device_set_context(struct acpi_device *device, int type)
static void acpi_device_get_debug_info(struct acpi_device *device, static void acpi_device_get_debug_info(struct acpi_device *device,
acpi_handle handle, int type) acpi_handle handle, int type)
{ {
#ifdef CONFIG_ACPI_DEBUG_OUTPUT #ifdef ACPI_DEBUG_OUTPUT
char *type_string = NULL; char *type_string = NULL;
char name[80] = { '?', '\0' }; char name[80] = { '?', '\0' };
struct acpi_buffer buffer = { sizeof(name), name }; struct acpi_buffer buffer = { sizeof(name), name };
...@@ -928,7 +928,7 @@ static void acpi_device_get_debug_info(struct acpi_device *device, ...@@ -928,7 +928,7 @@ static void acpi_device_get_debug_info(struct acpi_device *device,
} }
printk(KERN_DEBUG "Found %s %s [%p]\n", type_string, name, handle); printk(KERN_DEBUG "Found %s %s [%p]\n", type_string, name, handle);
#endif /*CONFIG_ACPI_DEBUG_OUTPUT */ #endif /* ACPI_DEBUG_OUTPUT */
} }
static int acpi_bus_remove(struct acpi_device *dev, int rmdevice) static int acpi_bus_remove(struct acpi_device *dev, int rmdevice)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册