diff options
Diffstat (limited to 'drivers/gpu/drm/drm_pci.c')
-rw-r--r-- | drivers/gpu/drm/drm_pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c index c99c71b3d220..d3875e3f9d9c 100644 --- a/drivers/gpu/drm/drm_pci.c +++ b/drivers/gpu/drm/drm_pci.c | |||
@@ -262,7 +262,7 @@ static int drm_pci_irq_by_busid(struct drm_device *dev, struct drm_irq_busid *p) | |||
262 | return 0; | 262 | return 0; |
263 | } | 263 | } |
264 | 264 | ||
265 | static int drm_pci_agp_init(struct drm_device *dev) | 265 | static void drm_pci_agp_init(struct drm_device *dev) |
266 | { | 266 | { |
267 | if (drm_core_has_AGP(dev)) { | 267 | if (drm_core_has_AGP(dev)) { |
268 | if (drm_pci_device_is_agp(dev)) | 268 | if (drm_pci_device_is_agp(dev)) |
@@ -274,7 +274,6 @@ static int drm_pci_agp_init(struct drm_device *dev) | |||
274 | 1024 * 1024); | 274 | 1024 * 1024); |
275 | } | 275 | } |
276 | } | 276 | } |
277 | return 0; | ||
278 | } | 277 | } |
279 | 278 | ||
280 | static void drm_pci_agp_destroy(struct drm_device *dev) | 279 | static void drm_pci_agp_destroy(struct drm_device *dev) |