summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-08-28 21:40:51 -0400
committerDave Airlie <airlied@redhat.com>2012-09-07 13:25:34 +1000
commitc4903429a92be60e6fe59868924a65eca4cd1a38 (patch)
treee9ac2d9d88e4d9051f107e3b1622b69b1a80fa7b /drivers/gpu
parent5d2afab958f8cd203a8fe639082b5b5e74f748f9 (diff)
downloadlinux-3.10-c4903429a92be60e6fe59868924a65eca4cd1a38.tar.gz
linux-3.10-c4903429a92be60e6fe59868924a65eca4cd1a38.tar.bz2
linux-3.10-c4903429a92be60e6fe59868924a65eca4cd1a38.zip
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.c1
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 7f4f4eecf45..33bfc203300 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);