diff options
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
-rw-r--r-- | drivers/gpu/drm/ast/ast_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c index d85af0ff2653..5b59888426cf 100644 --- a/drivers/gpu/drm/ast/ast_main.c +++ b/drivers/gpu/drm/ast/ast_main.c | |||
@@ -476,7 +476,7 @@ out_free: | |||
476 | return ret; | 476 | return ret; |
477 | } | 477 | } |
478 | 478 | ||
479 | int ast_driver_unload(struct drm_device *dev) | 479 | void ast_driver_unload(struct drm_device *dev) |
480 | { | 480 | { |
481 | struct ast_private *ast = dev->dev_private; | 481 | struct ast_private *ast = dev->dev_private; |
482 | 482 | ||
@@ -489,7 +489,6 @@ int ast_driver_unload(struct drm_device *dev) | |||
489 | pci_iounmap(dev->pdev, ast->ioregs); | 489 | pci_iounmap(dev->pdev, ast->ioregs); |
490 | pci_iounmap(dev->pdev, ast->regs); | 490 | pci_iounmap(dev->pdev, ast->regs); |
491 | kfree(ast); | 491 | kfree(ast); |
492 | return 0; | ||
493 | } | 492 | } |
494 | 493 | ||
495 | int ast_gem_create(struct drm_device *dev, | 494 | int ast_gem_create(struct drm_device *dev, |