summaryrefslogtreecommitdiff
path: root/drivers/video/riva/rivafb.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/riva/rivafb.h')
-rw-r--r--drivers/video/riva/rivafb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/riva/rivafb.h b/drivers/video/riva/rivafb.h
index 7fa13fc9c413..48ead6d72f24 100644
--- a/drivers/video/riva/rivafb.h
+++ b/drivers/video/riva/rivafb.h
@@ -53,7 +53,8 @@ struct riva_par {
#ifdef CONFIG_X86
struct vgastate state;
#endif
- atomic_t ref_count;
+ struct mutex open_lock;
+ unsigned int ref_count;
unsigned char *EDID;
unsigned int Chipset;
int forceCRTC;