| 77 | } |
| 78 | |
| 79 | static rt_err_t host_bridge_probe(struct rt_pci_device *pdev) |
| 80 | { |
| 81 | rt_err_t err = RT_EOK; |
| 82 | |
| 83 | rt_pci_set_master(pdev); |
| 84 | |
| 85 | #ifdef RT_USING_PM |
| 86 | rt_pm_device_register(&pdev->parent, &host_bridge_pm_ops); |
| 87 | #endif |
| 88 | |
| 89 | return err; |
| 90 | } |
| 91 | |
| 92 | static rt_err_t host_bridge_remove(struct rt_pci_device *pdev) |
| 93 | { |
nothing calls this directly
no test coverage detected