summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/mga_drv.h2
-rw-r--r--shared/mga_state.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/shared/mga_drv.h b/shared/mga_drv.h
index 51bc706e..0845009b 100644
--- a/shared/mga_drv.h
+++ b/shared/mga_drv.h
@@ -38,7 +38,7 @@ typedef struct drm_mga_primary_buffer {
u32 tail;
int space;
- int wrapped;
+ volatile long wrapped;
volatile u32 *status;
diff --git a/shared/mga_state.c b/shared/mga_state.c
index adf67de3..734432d5 100644
--- a/shared/mga_state.c
+++ b/shared/mga_state.c
@@ -37,7 +37,6 @@
#include "drm.h"
#include "mga_drm.h"
#include "mga_drv.h"
-#include "drm.h"
/* ================================================================