staging: vboxvideo: Fixup some #ifdef-s
authorHans de Goede <hdegoede@redhat.com>
Mon, 22 Oct 2018 14:57:47 +0000 (16:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:59:50 +0000 (12:59 +0100)
commit35a703dfdc67a0098dc743e8b0fb1753127677c6
tree996798bd5b735b8c13cf1b6121823b99030ac3ea
parent650d4aad032a82f6382a3a1a0f31f0f473b31ab1
staging: vboxvideo: Fixup some #ifdef-s

Add #ifdef CONFIG_PM_SLEEP around the suspend/hibernate functions.

Remove unnecessary #ifdef CONFIG_COMPAT, the .compat_ioctl member is
always available and if CONFIG_COMPAT is not set then drm_compat_ioctl
is defined to NULL.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vboxvideo/vbox_drv.c