diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drmP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index d5e8e5c89548..08b8539e7b3c 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -737,6 +737,8 @@ struct drm_driver { | |||
737 | int num_ioctls; | 737 | int num_ioctls; |
738 | struct file_operations fops; | 738 | struct file_operations fops; |
739 | struct pci_driver pci_driver; | 739 | struct pci_driver pci_driver; |
740 | /* List of devices hanging off this driver */ | ||
741 | struct list_head device_list; | ||
740 | }; | 742 | }; |
741 | 743 | ||
742 | #define DRM_MINOR_UNASSIGNED 0 | 744 | #define DRM_MINOR_UNASSIGNED 0 |
@@ -759,6 +761,7 @@ struct drm_minor { | |||
759 | * may contain multiple heads. | 761 | * may contain multiple heads. |
760 | */ | 762 | */ |
761 | struct drm_device { | 763 | struct drm_device { |
764 | struct list_head driver_item; /**< list of devices per driver */ | ||
762 | char *unique; /**< Unique identifier: e.g., busid */ | 765 | char *unique; /**< Unique identifier: e.g., busid */ |
763 | int unique_len; /**< Length of unique field */ | 766 | int unique_len; /**< Length of unique field */ |
764 | char *devname; /**< For /proc/interrupts */ | 767 | char *devname; /**< For /proc/interrupts */ |