diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-07-05 17:25:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-06 23:02:50 +0200 |
commit | 4148df9b0f38bdd362dd91d52076926c11cbe5a9 (patch) | |
tree | a3f119761bbadfc37d0544420263f9272f5209c8 /drivers/video/controlfb.c | |
parent | cred_guard_mutex: do not return -EINTR to user-space (diff) | |
download | linux-4148df9b0f38bdd362dd91d52076926c11cbe5a9.tar.xz linux-4148df9b0f38bdd362dd91d52076926c11cbe5a9.zip |
fb: Initialize fb_info mutexes in framebuffer_alloc()
This way they'll be properly initialized early enough for users that may
touch them before the framebuffer has been registered.
Drivers that allocate their fb_info structure some other way (like
matrocfb's broken static allocation) need to be fixed up appropriately.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/controlfb.c')
0 files changed, 0 insertions, 0 deletions