summaryrefslogtreecommitdiff
path: root/drivers/staging/vboxvideo/vbox_drv.h
diff options
context:
space:
mode:
authorFabio Rafael da Rosa <fdr@pid42.net>2018-06-04 05:24:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-17 10:05:13 +0300
commit1daddbc8dec56e3c656ade8e5e6ef20a1be68823 (patch)
treec371d8df593b46e2d38208657f363d70ca2b53eb /drivers/staging/vboxvideo/vbox_drv.h
parent089a137ad23a7b970b2c05bdb25937b96eab1700 (diff)
downloadlinux-1daddbc8dec56e3c656ade8e5e6ef20a1be68823.tar.xz
staging: vboxvideo: Update driver to use drm_dev_register.
The use of load and unload hooks is deprecated. DRM drivers should use drm_dev_alloc|drm_dev_init and drm_dev_register for initialization and publishing. Signed-off-by: Fabio Rafael da Rosa <fdr@pid42.net> Reviewed-by: Nicholas Mc Guire <der.herr@hofr.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vboxvideo/vbox_drv.h')
-rw-r--r--drivers/staging/vboxvideo/vbox_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vboxvideo/vbox_drv.h b/drivers/staging/vboxvideo/vbox_drv.h
index eeac4f0cb2c6..594f84272957 100644
--- a/drivers/staging/vboxvideo/vbox_drv.h
+++ b/drivers/staging/vboxvideo/vbox_drv.h
@@ -126,7 +126,7 @@ struct vbox_private {
#undef CURSOR_PIXEL_COUNT
#undef CURSOR_DATA_SIZE
-int vbox_driver_load(struct drm_device *dev, unsigned long flags);
+int vbox_driver_load(struct drm_device *dev);
void vbox_driver_unload(struct drm_device *dev);
void vbox_driver_lastclose(struct drm_device *dev);