]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
Merge branch 'acpi-scan' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Jan 2013 18:18:41 +0000 (11:18 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Jan 2013 18:18:41 +0000 (11:18 -0700)
* 'acpi-scan' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  ACPI / scan: Treat power resources in a special way
  ACPI: Remove unused struct acpi_pci_root.id member
  ACPI: Drop ACPI device .bind() and .unbind() callbacks
  ACPI / PCI: Move the _PRT setup and cleanup code to pci-acpi.c
  ACPI / PCI: Rework the setup and cleanup of device wakeup
  ACPI: Add .setup() and .cleanup() callbacks to struct acpi_bus_type
  ACPI: Make acpi_bus_scan() and acpi_bus_add() take only one argument
  ACPI: Replace ACPI device add_type field with a match_driver flag
  ACPI: Drop the second argument of acpi_bus_scan()
  ACPI: Remove the arguments of acpi_bus_add() that are not used
  ACPI: Remove acpi_start_single_object() and acpi_bus_start()
  ACPI / PCI: Fold acpi_pci_root_start() into acpi_pci_root_add()
  ACPI: Change the ordering of acpi_bus_check_add()
  ACPI: Replace struct acpi_bus_ops with enum type
  ACPI: Reduce the usage of struct acpi_bus_ops
  ACPI: Make acpi_bus_add() and acpi_bus_start() visibly different
  ACPI: Change the ordering of PCI root bridge driver registrarion
  ACPI: Separate adding ACPI device objects from probing ACPI drivers

Conflicts:
drivers/acpi/pci_root.c

1  2 
drivers/acpi/pci_root.c

index dcbe9660e7569752798af15e8965fde58f89728d,22a8458b4ec90d0c4f0793a04e401b97b4061d5e..471b2dcb1c6777efac5e33fced053f33a06bc717
@@@ -632,28 -600,8 +600,10 @@@ static int acpi_pci_root_add(struct acp
        if (device->wakeup.flags.run_wake)
                device_set_run_wake(root->bus->bridge, true);
  
-       return 0;
- out_del_root:
-       mutex_lock(&acpi_pci_root_lock);
-       list_del(&root->node);
-       mutex_unlock(&acpi_pci_root_lock);
-       acpi_pci_irq_del_prt(root->segment, root->secondary.start);
- end:
-       kfree(root);
-       return result;
- }
- static int acpi_pci_root_start(struct acpi_device *device)
- {
-       struct acpi_pci_root *root = acpi_driver_data(device);
-       struct acpi_pci_driver *driver;
 -      if (system_state != SYSTEM_BOOTING)
 +      if (system_state != SYSTEM_BOOTING) {
 +              pcibios_resource_survey_bus(root->bus);
                pci_assign_unassigned_bus_resources(root->bus);
 +      }
  
        mutex_lock(&acpi_pci_root_lock);
        list_for_each_entry(driver, &acpi_pci_drivers, node)