diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-04-06 04:36:51 +0200 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-04-06 04:36:51 +0200 |
commit | 6dc9cfc88e514e367ff2413d8859b2337e286ce9 (patch) | |
tree | 1ca9832a65e3c490c305105e547dbe196ad9f7a5 /libdde_linux26/lib/src/drivers/pci | |
parent | d31e486426aed7952b3468a63f2e81735d09943c (diff) |
Use pci_set_master in linux.
Diffstat (limited to 'libdde_linux26/lib/src/drivers/pci')
-rw-r--r-- | libdde_linux26/lib/src/drivers/pci/pci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libdde_linux26/lib/src/drivers/pci/pci.c b/libdde_linux26/lib/src/drivers/pci/pci.c index f67bf734..9350ffed 100644 --- a/libdde_linux26/lib/src/drivers/pci/pci.c +++ b/libdde_linux26/lib/src/drivers/pci/pci.c @@ -1731,7 +1731,6 @@ int pci_request_regions(struct pci_dev *pdev, const char *res_name) return pci_request_selected_regions(pdev, ((1 << 6) - 1), res_name); } -#ifndef DDE_LINUX /** * pci_request_regions_exclusive - Reserved PCI I/O and memory resources * @pdev: PCI device whose resources are to be reserved @@ -1792,7 +1791,6 @@ void pci_clear_master(struct pci_dev *dev) { __pci_set_master(dev, false); } -#endif /* DDE_LINUX */ #ifdef PCI_DISABLE_MWI int pci_set_mwi(struct pci_dev *dev) |