aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2007-08-03 17:55:53 -0400
committerLen Brown <len.brown@intel.com>2007-08-03 17:55:53 -0400
commit52fe4bdf40bc07498c5f7935551774e8f8458190 (patch)
treeb40a15a0a13d5b7dd9f3b844ee767cfd25ef028d /drivers
parentcd8c93a4e04dce8f00d1ef3a476aac8bd65ae40b (diff)
ACPI: EC: fix build warning
drivers/acpi/ec.c:657: warning: ‘acpi_ec_register_query_methods’ defined but not used Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/ec.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 4d7fe829a6e2..629289034b61 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -652,19 +652,6 @@ static struct acpi_ec *make_acpi_ec(void)
652} 652}
653 653
654static acpi_status 654static acpi_status
655acpi_ec_register_query_methods(acpi_handle handle, u32 level,
656 void *context, void **return_value)
657{
658 struct acpi_namespace_node *node = handle;
659 struct acpi_ec *ec = context;
660 int value = 0;
661 if (sscanf(node->name.ascii, "_Q%x", &value) == 1) {
662 acpi_ec_add_query_handler(ec, value, handle, NULL, NULL);
663 }
664 return AE_OK;
665}
666
667static acpi_status
668ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) 655ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval)
669{ 656{
670 acpi_status status; 657 acpi_status status;