diff options
| author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2006-10-15 00:12:13 +0200 | 
|---|---|---|
| committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2006-10-15 00:12:13 +0200 | 
| commit | 93fee5cf222ad6d97e0dcb85e13a8d8b84dba81f (patch) | |
| tree | 4e62581041c93f6ab51e6cafd804e81b5172040f /linux-core/drm_stub.c | |
| parent | 2c5b91aecf3d21684ffca758c034cd9a8ed2155d (diff) | |
| parent | a9f57a2b9c5897cbf568bf75342204b780566de0 (diff) | |
Merge branch 'master' of git://anongit.freedesktop.org/git/mesa/drm into nouveau-1
Diffstat (limited to 'linux-core/drm_stub.c')
| -rw-r--r-- | linux-core/drm_stub.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c index bdc36552..839cf441 100644 --- a/linux-core/drm_stub.c +++ b/linux-core/drm_stub.c @@ -61,11 +61,15 @@ static int drm_fill_in_dev(drm_device_t * dev, struct pci_dev *pdev,  	int retcode;  	spin_lock_init(&dev->count_lock); +	spin_lock_init(&dev->drw_lock); +	spin_lock_init(&dev->tasklet_lock);  	init_timer(&dev->timer);  	mutex_init(&dev->struct_mutex);  	mutex_init(&dev->ctxlist_mutex);  	dev->pdev = pdev; +	dev->pci_device = pdev->device; +	dev->pci_vendor = pdev->vendor;  #ifdef __alpha__  	dev->hose = pdev->sysdata; | 
