summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-11 14:34:34 +0400
committerDave Airlie <airlied@redhat.com>2013-12-18 05:18:12 +0400
commit8da79ccd1aaa2efe482b2c555c4684c7b503864a (patch)
tree916684aed64742851149eae1e963887e8b998544 /include/drm
parent24986ee06929a8de3a5b4722ccadf0b85c175264 (diff)
downloadlinux-8da79ccd1aaa2efe482b2c555c4684c7b503864a.tar.xz
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.h2
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 {
struct drm_unique *unique);
int (*irq_by_busid)(struct drm_device *dev, struct drm_irq_busid *p);
/* hooks that are for PCI */
- int (*agp_init)(struct drm_device *dev);
+ void (*agp_init)(struct drm_device *dev);
void (*agp_destroy)(struct drm_device *dev);
};