diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-11 05:34:34 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-17 20:18:12 -0500 |
commit | 8da79ccd1aaa2efe482b2c555c4684c7b503864a (patch) | |
tree | 916684aed64742851149eae1e963887e8b998544 /include/drm | |
parent | 24986ee06929a8de3a5b4722ccadf0b85c175264 (diff) |
drm: ->agp_init can't fail
Thanks to the removal of REQUIRE_AGP we can use a void return value
and shed a bit of complexity.
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index eef421bb7b95..04909a80735d 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -767,7 +767,7 @@ struct drm_bus { | |||
767 | struct drm_unique *unique); | 767 | struct drm_unique *unique); |
768 | int (*irq_by_busid)(struct drm_device *dev, struct drm_irq_busid *p); | 768 | int (*irq_by_busid)(struct drm_device *dev, struct drm_irq_busid *p); |
769 | /* hooks that are for PCI */ | 769 | /* hooks that are for PCI */ |
770 | int (*agp_init)(struct drm_device *dev); | 770 | void (*agp_init)(struct drm_device *dev); |
771 | void (*agp_destroy)(struct drm_device *dev); | 771 | void (*agp_destroy)(struct drm_device *dev); |
772 | 772 | ||
773 | }; | 773 | }; |