]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/gpu/drm/nouveau/include/nvkm/core/pci.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / include / nvkm / core / pci.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_DEVICE_PCI_H__
3 #define __NVKM_DEVICE_PCI_H__
4 #include <core/device.h>
5
6 struct nvkm_device_pci {
7 struct nvkm_device device;
8 struct pci_dev *pdev;
9 bool suspend;
10 };
11
12 int nvkm_device_pci_new(struct pci_dev *, const char *cfg, const char *dbg,
13 bool detect, bool mmio, u64 subdev_mask,
14 struct nvkm_device **);
15 #endif