Commit 920695a4 authored by Dave Airlie's avatar Dave Airlie

drm: fix drm_sysfs lock initializer...

unify the initializer.
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent e7cf2dc3
...@@ -32,7 +32,7 @@ struct simple_dev { ...@@ -32,7 +32,7 @@ struct simple_dev {
#define to_simple_dev(d) container_of(d, struct simple_dev, class_dev) #define to_simple_dev(d) container_of(d, struct simple_dev, class_dev)
static LIST_HEAD(simple_dev_list); static LIST_HEAD(simple_dev_list);
static spinlock_t simple_dev_list_lock = SPIN_LOCK_UNLOCKED; static DEFINE_SPINLOCK(simple_dev_list_lock);
static void release_simple_dev(struct class_device *class_dev) static void release_simple_dev(struct class_device *class_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