drm/vmwgfx: allow a kconfig option to choose if fbcon is enabled

This makes things easier for distros where we'd like to have fbcon
enabled all the time.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2012-08-28 21:38:49 -04:00
parent 804d74abe2
commit 5d2afab958
2 changed files with 9 additions and 1 deletions

View File

@@ -183,7 +183,7 @@ static struct pci_device_id vmw_pci_id_list[] = {
{0, 0, 0}
};
static int enable_fbdev;
static int enable_fbdev = IS_ENABLED(CONFIG_DRM_VMWGFX_FBCON);
static int vmw_probe(struct pci_dev *, const struct pci_device_id *);
static void vmw_master_init(struct vmw_master *);