]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ide.h
ide: use mutex instead of ide_cfg_sem semaphore in IDE driver
[linux-2.6-omap-h63xx.git] / include / linux / ide.h
index 0bacf7f7c7918e45d32c509705cc86b1e7a962a8..16ae68857f5733d6554ab60136aa2b56fcb50749 100644 (file)
@@ -1382,11 +1382,11 @@ extern const ide_pio_timings_t ide_pio_timings[6];
 
 
 extern spinlock_t ide_lock;
-extern struct semaphore ide_cfg_sem;
+extern struct mutex ide_cfg_mtx;
 /*
  * Structure locking:
  *
- * ide_cfg_sem and ide_lock together protect changes to
+ * ide_cfg_mtx and ide_lock together protect changes to
  * ide_hwif_t->{next,hwgroup}
  * ide_drive_t->next
  *