summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-29 17:09:54 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-29 17:09:54 +0000
commit816a2917099b3ff214dc357c5b41984f34902cf3 (patch)
treec3ec5e5d7e2edac6e192947679135f790ce8d9bb /linux
parentc611cb9f171df3b9ad19e57e614f35c67e73ceb1 (diff)
Switch SPIN_LOCK_UNLOCKED to spin_lock_init()
Diffstat (limited to 'linux')
-rw-r--r--linux/drm_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_drv.h b/linux/drm_drv.h
index 6d698393..39b6a755 100644
--- a/linux/drm_drv.h
+++ b/linux/drm_drv.h
@@ -395,7 +395,7 @@ int DRM(fill_in_dev)(drm_device_t *dev, struct pci_dev *pdev, const struct pci_d
{
int retcode;
- dev->count_lock = SPIN_LOCK_UNLOCKED;
+ spin_lock_init(&dev->count_lock);
init_timer( &dev->timer );
sema_init( &dev->struct_sem, 1 );
sema_init( &dev->ctxlist_sem, 1 );