diff options
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index bb3963b49a98..d4366ad4edcd 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -73,7 +73,7 @@ static struct acpi_driver acpi_ec_driver = { | |||
73 | .class = ACPI_EC_CLASS, | 73 | .class = ACPI_EC_CLASS, |
74 | .ids = ACPI_EC_HID, | 74 | .ids = ACPI_EC_HID, |
75 | .ops = { | 75 | .ops = { |
76 | .add = acpi_ec_poll_add, | 76 | .add = acpi_ec_intr_add, |
77 | .remove = acpi_ec_remove, | 77 | .remove = acpi_ec_remove, |
78 | .start = acpi_ec_start, | 78 | .start = acpi_ec_start, |
79 | .stop = acpi_ec_stop, | 79 | .stop = acpi_ec_stop, |
@@ -147,7 +147,7 @@ static union acpi_ec *ec_ecdt; | |||
147 | 147 | ||
148 | /* External interfaces use first EC only, so remember */ | 148 | /* External interfaces use first EC only, so remember */ |
149 | static struct acpi_device *first_ec; | 149 | static struct acpi_device *first_ec; |
150 | static int acpi_ec_poll_mode = EC_POLL; | 150 | static int acpi_ec_poll_mode = EC_INTR; |
151 | 151 | ||
152 | /* -------------------------------------------------------------------------- | 152 | /* -------------------------------------------------------------------------- |
153 | Transaction Management | 153 | Transaction Management |
@@ -1594,4 +1594,4 @@ static int __init acpi_ec_set_intr_mode(char *str) | |||
1594 | return 0; | 1594 | return 0; |
1595 | } | 1595 | } |
1596 | 1596 | ||
1597 | __setup("ec_burst=", acpi_ec_set_intr_mode); | 1597 | __setup("ec_intr=", acpi_ec_set_intr_mode); |