summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_root.c
diff options
context:
space:
mode:
authorLi Shaohua <shaohua.li@intel.com>2006-12-07 13:57:05 +0100
committerLen Brown <len.brown@intel.com>2006-12-16 05:38:35 +0100
commitdb3e1cc3257758d8a694d0a6ab29f109fb019853 (patch)
tree04acebdac81e32af4ce8eea2c4e04efdeead26f3 /drivers/acpi/pci_root.c
parentACPI: consolidate two motherboard drivers into one (diff)
downloadlinux-db3e1cc3257758d8a694d0a6ab29f109fb019853.tar.xz
linux-db3e1cc3257758d8a694d0a6ab29f109fb019853.zip
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 0984a1ee24ed..9cfc74192419 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
* -------