From: Len Brown Date: Sat, 6 Jan 2007 05:02:07 +0000 (-0500) Subject: ACPI: ec: enable printk on cmdline use X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=723fe2ca82d1ffc80c9d53035babf011f84c65d4;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ACPI: ec: enable printk on cmdline use if somebody uses "ec_intr=", lets be sure to capture that in the dmesg even in the non-debug case. Signed-off-by: Len Brown --- diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 4144d5dd442e..cbdf031f3c09 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -1016,8 +1016,8 @@ static int __init acpi_ec_set_intr_mode(char *str) acpi_ec_mode = EC_POLL; } acpi_ec_driver.ops.add = acpi_ec_add; - ACPI_DEBUG_PRINT((ACPI_DB_INFO, "EC %s mode.\n", - intr ? "interrupt" : "polling")); + printk(KERN_NOTICE PREFIX "%s mode.\n", + intr ? "interrupt" : "polling"); return 1; }