Commit 56fd2e11 authored by Patrick Mochel's avatar Patrick Mochel

Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-cls

into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-input
parents ab910003 5eda515d
...@@ -40,7 +40,7 @@ static void enum_device(struct device_class * cls, struct device * dev) ...@@ -40,7 +40,7 @@ static void enum_device(struct device_class * cls, struct device * dev)
u32 val; u32 val;
spin_lock(&device_lock); spin_lock(&device_lock);
val = cls->devnum++; val = cls->devnum++;
write_unlock(&device_lock); spin_unlock(&device_lock);
dev->class_num = val; dev->class_num = val;
devclass_dev_link(cls,dev); devclass_dev_link(cls,dev);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment