diff options
author | Dave Airlie <airlied@redhat.com> | 2012-08-29 05:40:51 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-09-07 07:25:34 +0400 |
commit | c4903429a92be60e6fe59868924a65eca4cd1a38 (patch) | |
tree | e9ac2d9d88e4d9051f107e3b1622b69b1a80fa7b /drivers/gpu | |
parent | 5d2afab958f8cd203a8fe639082b5b5e74f748f9 (diff) | |
download | linux-c4903429a92be60e6fe59868924a65eca4cd1a38.tar.xz |
drm/vmwgfx: add MODULE_DEVICE_TABLE so vmwgfx loads at boot
This will cause udev to load vmwgfx instead of waiting for X
to do it.
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 7f4f4eecf45a..33bfc2033009 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -182,6 +182,7 @@ static struct pci_device_id vmw_pci_id_list[] = { {0x15ad, 0x0405, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VMWGFX_CHIP_SVGAII}, {0, 0, 0} }; +MODULE_DEVICE_TABLE(pci, vmw_pci_id_list); static int enable_fbdev = IS_ENABLED(CONFIG_DRM_VMWGFX_FBCON); |