drm_get_pci_dev — Register a PCI device with the DRM subsystem
int drm_get_pci_dev ( | struct pci_dev * pdev, |
const struct pci_device_id * ent, | |
struct drm_driver * driver) ; |
Attempt to gets inter module “drm” information. If we are first then register the character device and inter module information. Try and register, if we fail to register, backout previous work.
This function is deprecated, please use drm_dev_alloc
and
drm_dev_register
instead and remove your ->load
callback.