mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
5598e55a8d
Checking for CONFIG_FB_DEFERRED_IO is not the right thing to do since the fbdev code may be built as a module while vboxvideo is builtin. This can only happen when DRM_KMS_FB_HELPER is not set: a) DRM_VBOXVIDEO selects DRM_KMS_HELPER b) DRM_KMS_FB_HELPER depends on DRM_KMS_HELPER c) DRM_KMS_FB_HELPER selects FB_DEFERRED_IO So when DRM_KMS_FB_HELPER is set and vboxvideo is builtin then FB_DEFERRED_IO must be builtin too. This commit moves the #ifdefs around fbdefio code over to CONFIG_DRM_KMS_FB_HELPER, as other drm drivers already do, fixing: drivers/staging/vboxvideo/vbox_fb.o: In function `vbox_fbdev_fini': vbox_fb.c:(.text+0x36): undefined reference to `fb_deferred_io_cleanup' Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
hgsmi_base.c | ||
hgsmi_ch_setup.h | ||
hgsmi_channels.h | ||
hgsmi_defs.h | ||
Kconfig | ||
Makefile | ||
modesetting.c | ||
TODO | ||
vbox_drv.c | ||
vbox_drv.h | ||
vbox_err.h | ||
vbox_fb.c | ||
vbox_hgsmi.c | ||
vbox_irq.c | ||
vbox_main.c | ||
vbox_mode.c | ||
vbox_prime.c | ||
vbox_ttm.c | ||
vboxvideo_guest.h | ||
vboxvideo_vbe.h | ||
vboxvideo.h | ||
vbva_base.c |