diff options
author | Thomas Renninger <trenn@suse.de> | 2006-06-26 23:58:43 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-26 23:58:43 -0400 |
commit | a6fc67202e0224e6c9d1d285cc0b444bce887ed5 (patch) | |
tree | cb2d422f65c0ab0a95f452f6bac80e2bfdd547de /drivers/acpi/event.c | |
parent | eb99adde31b7d85c67a5e1c2fa5e098e1056dd79 (diff) |
ACPI: Enable ACPI error messages w/o CONFIG_ACPI_DEBUG
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/event.c')
-rw-r--r-- | drivers/acpi/event.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/event.c b/drivers/acpi/event.c index 2dbb1b0f11d5..dab09d3f6307 100644 --- a/drivers/acpi/event.c +++ b/drivers/acpi/event.c | |||
@@ -122,10 +122,7 @@ static int __init acpi_event_init(void) | |||
122 | if (entry) | 122 | if (entry) |
123 | entry->proc_fops = &acpi_system_event_ops; | 123 | entry->proc_fops = &acpi_system_event_ops; |
124 | else { | 124 | else { |
125 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 125 | error = -ENODEV; |
126 | "Unable to create '%s' proc fs entry\n", | ||
127 | "event")); | ||
128 | error = -EFAULT; | ||
129 | } | 126 | } |
130 | return_VALUE(error); | 127 | return_VALUE(error); |
131 | } | 128 | } |