bus.c (e21e696edb498c7f7eed42ba3096f6bbe13927b6) | bus.c (8950d89acaa8c353869e681772479d7955ae6f7a) |
---|---|
1/* 2 * acpi_bus.c - ACPI Bus Driver ($Revision: 80 $) 3 * 4 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> 5 * 6 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 * 8 * This program is free software; you can redistribute it and/or modify --- 760 unchanged lines hidden (view full) --- 769 goto error1; 770 } 771 772 if (ACPI_FAILURE(status)) { 773 printk(KERN_ERR PREFIX 774 "Unable to initialize ACPI OS objects\n"); 775 goto error1; 776 } | 1/* 2 * acpi_bus.c - ACPI Bus Driver ($Revision: 80 $) 3 * 4 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> 5 * 6 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 * 8 * This program is free software; you can redistribute it and/or modify --- 760 unchanged lines hidden (view full) --- 769 goto error1; 770 } 771 772 if (ACPI_FAILURE(status)) { 773 printk(KERN_ERR PREFIX 774 "Unable to initialize ACPI OS objects\n"); 775 goto error1; 776 } |
777#ifdef CONFIG_ACPI_EC | 777 |
778 /* 779 * ACPI 2.0 requires the EC driver to be loaded and work before 780 * the EC device is found in the namespace (i.e. before acpi_initialize_objects() 781 * is called). 782 * 783 * This is accomplished by looking for the ECDT table, and getting 784 * the EC parameters out of that. 785 */ 786 status = acpi_ec_ecdt_probe(); 787 /* Ignore result. Not having an ECDT is not fatal. */ | 778 /* 779 * ACPI 2.0 requires the EC driver to be loaded and work before 780 * the EC device is found in the namespace (i.e. before acpi_initialize_objects() 781 * is called). 782 * 783 * This is accomplished by looking for the ECDT table, and getting 784 * the EC parameters out of that. 785 */ 786 status = acpi_ec_ecdt_probe(); 787 /* Ignore result. Not having an ECDT is not fatal. */ |
788#endif | |
789 790 status = acpi_initialize_objects(ACPI_FULL_INITIALIZATION); 791 if (ACPI_FAILURE(status)) { 792 printk(KERN_ERR PREFIX "Unable to initialize ACPI objects\n"); 793 goto error1; 794 } 795 796 /* --- 83 unchanged lines hidden --- | 788 789 status = acpi_initialize_objects(ACPI_FULL_INITIALIZATION); 790 if (ACPI_FAILURE(status)) { 791 printk(KERN_ERR PREFIX "Unable to initialize ACPI objects\n"); 792 goto error1; 793 } 794 795 /* --- 83 unchanged lines hidden --- |