Skip to content

Commit

Permalink
ACPI: ec: enable printk on cmdline use
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Len Brown committed Jan 6, 2007
1 parent 05a8057 commit 723fe2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 723fe2c

Please sign in to comment.