xref: /openbmc/linux/drivers/gpu/drm/i915/i915_pci.h (revision f052febd)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2021 Intel Corporation
4  */
5 
6 #ifndef __I915_PCI_H__
7 #define __I915_PCI_H__
8 
9 #include <linux/types.h>
10 
11 struct pci_dev;
12 
13 int i915_pci_register_driver(void);
14 void i915_pci_unregister_driver(void);
15 
16 bool i915_pci_resource_valid(struct pci_dev *pdev, int bar);
17 
18 #endif /* __I915_PCI_H__ */
19