summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_root.c
diff options
context:
space:
mode:
authorLi Shaohua <shaohua.li@intel.com>2006-12-07 20:57:05 +0800
committerLen Brown <len.brown@intel.com>2006-12-15 23:38:35 -0500
commitdb3e1cc3257758d8a694d0a6ab29f109fb019853 (patch)
tree04acebdac81e32af4ce8eea2c4e04efdeead26f3 /drivers/acpi/pci_root.c
parent54a07001b9efb6a3bb9a9d8ac9ddb226e29b5406 (diff)
downloadop-kernel-dev-db3e1cc3257758d8a694d0a6ab29f109fb019853.zip
op-kernel-dev-db3e1cc3257758d8a694d0a6ab29f109fb019853.tar.gz
ACPI: Convert ACPI PCI .bind/.unbind to use PCI bridge driver
acpi_device had a .bind/.unbind methods, but Linux driver model does not. Cut ACPI PCI code over to use the Linux driver model methods. Convert bind/unbind to use a new pci bridge driver. The driver will add/remove _PRT, so we can eventually remove .bind/.unbind methods. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r--drivers/acpi/pci_root.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index 0984a1e..9cfc741 100644
--- a/drivers/acpi/pci_root.c
+++ b/drivers/acpi/pci_root.c
@@ -175,11 +175,6 @@ static int acpi_pci_root_add(struct acpi_device *device)
strcpy(acpi_device_class(device), ACPI_PCI_ROOT_CLASS);
acpi_driver_data(device) = root;
- /*
- * TBD: Doesn't the bus driver automatically set this?
- */
- device->ops.bind = acpi_pci_bind;
-
/*
* Segment
* -------
OpenPOWER on IntegriCloud