]> err.no Git - linux-2.6/commitdiff
ACPI: ec: enable printk on cmdline use
authorLen Brown <len.brown@intel.com>
Sat, 6 Jan 2007 05:02:07 +0000 (00:02 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 6 Jan 2007 05:02:07 +0000 (00:02 -0500)
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>
drivers/acpi/ec.c

index 4144d5dd442e762a27e8c71b7bf430c66d35bdaa..cbdf031f3c09a88cbacbb7e8e28ab737f4304049 100644 (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;
 }