diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_drv.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index fdc83cbcde61..4fd2e1799a88 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c | |||
@@ -694,7 +694,7 @@ static int dev_load(struct drm_device *dev, unsigned long flags) | |||
694 | return 0; | 694 | return 0; |
695 | } | 695 | } |
696 | 696 | ||
697 | static int dev_unload(struct drm_device *dev) | 697 | static void dev_unload(struct drm_device *dev) |
698 | { | 698 | { |
699 | struct omap_drm_private *priv = dev->dev_private; | 699 | struct omap_drm_private *priv = dev->dev_private; |
700 | 700 | ||
@@ -717,8 +717,6 @@ static int dev_unload(struct drm_device *dev) | |||
717 | dev->dev_private = NULL; | 717 | dev->dev_private = NULL; |
718 | 718 | ||
719 | dev_set_drvdata(dev->dev, NULL); | 719 | dev_set_drvdata(dev->dev, NULL); |
720 | |||
721 | return 0; | ||
722 | } | 720 | } |
723 | 721 | ||
724 | static int dev_open(struct drm_device *dev, struct drm_file *file) | 722 | static int dev_open(struct drm_device *dev, struct drm_file *file) |