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 <len.brown@intel.com>
This commit is contained in:
Len Brown 2007-01-06 00:02:07 -05:00
parent 05a8057bb3
commit 723fe2ca82

View file

@ -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;
}