Rev 5271 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5271 | Rev 6084 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | #include |
25 | #include |
26 | #include |
26 | #include |
27 | #include |
27 | #include |
28 | #include |
28 | #include |
29 | #include |
29 | #include |
- | 30 | #include "drm_internal.h" |
|
30 | #include "drm_legacy.h" |
31 | #include "drm_legacy.h" |
Line 31... | Line 32... | ||
31 | 32 | ||
32 | #include |
33 | #include |
33 | /** |
34 | /** |
Line 289... | Line 290... | ||
289 | * \return zero on success or a negative number on failure. |
290 | * \return zero on success or a negative number on failure. |
290 | * |
291 | * |
291 | * Attempt to gets inter module "drm" information. If we are first |
292 | * Attempt to gets inter module "drm" information. If we are first |
292 | * then register the character device and inter module information. |
293 | * then register the character device and inter module information. |
293 | * Try and register, if we fail to register, backout previous work. |
294 | * Try and register, if we fail to register, backout previous work. |
- | 295 | * |
|
- | 296 | * Return: 0 on success or a negative error code on failure. |
|
294 | */ |
297 | */ |
295 | int drm_get_pci_dev(struct pci_dev *pdev, const struct pci_device_id *ent, |
298 | int drm_get_pci_dev(struct pci_dev *pdev, const struct pci_device_id *ent, |
296 | struct drm_driver *driver) |
299 | struct drm_driver *driver) |
297 | { |
300 | { |
298 | static struct drm_device drm_dev; |
301 | static struct drm_device drm_dev; |