File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ static inline void mga_wait_vsync(struct mga_device *mdev)
111
111
unsigned int status = 0 ;
112
112
113
113
do {
114
- status = RREG32 (MGAREG_Status );
114
+ status = RREG32 (MGAREG_STATUS );
115
115
} while ((status & 0x08 ) && time_before (jiffies , timeout ));
116
116
timeout = jiffies + HZ /10 ;
117
117
status = 0 ;
118
118
do {
119
- status = RREG32 (MGAREG_Status );
119
+ status = RREG32 (MGAREG_STATUS );
120
120
} while (!(status & 0x08 ) && time_before (jiffies , timeout ));
121
121
}
122
122
@@ -125,7 +125,7 @@ static inline void mga_wait_busy(struct mga_device *mdev)
125
125
unsigned long timeout = jiffies + HZ ;
126
126
unsigned int status = 0 ;
127
127
do {
128
- status = RREG8 (MGAREG_Status + 2 );
128
+ status = RREG8 (MGAREG_STATUS + 2 );
129
129
} while ((status & 0x01 ) && time_before (jiffies , timeout ));
130
130
}
131
131
Original file line number Diff line number Diff line change 102
102
#define MGAREG_EXEC 0x0100
103
103
104
104
#define MGAREG_FIFOSTATUS 0x1e10
105
- #define MGAREG_Status 0x1e14
105
+ #define MGAREG_STATUS 0x1e14
106
106
#define MGAREG_CACHEFLUSH 0x1fff
107
107
#define MGAREG_ICLEAR 0x1e18
108
108
#define MGAREG_IEN 0x1e1c
You can’t perform that action at this time.
0 commit comments