aboutsummaryrefslogtreecommitdiffstats
path: root/include/video/neomagic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video/neomagic.h')
-rw-r--r--include/video/neomagic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/video/neomagic.h b/include/video/neomagic.h
index 78b1f15a538f..a9e118a1cd16 100644
--- a/include/video/neomagic.h
+++ b/include/video/neomagic.h
@@ -140,7 +140,8 @@ typedef volatile struct {
struct neofb_par {
struct vgastate state;
- atomic_t ref_count;
+ struct mutex open_lock;
+ unsigned int ref_count;
unsigned char MiscOutReg; /* Misc */
unsigned char CRTC[25]; /* Crtc Controller */

Privacy Policy