@@ -160,7 +160,7 @@ static void lynxfb_ops_fillrect(struct fb_info *info,
160
160
{
161
161
struct lynxfb_par * par ;
162
162
struct sm750_dev * sm750_dev ;
163
- unsigned int base , pitch , Bpp , rop ;
163
+ unsigned int base , pitch , bpp , rop ;
164
164
u32 color ;
165
165
166
166
if (info -> state != FBINFO_STATE_RUNNING )
@@ -175,9 +175,9 @@ static void lynxfb_ops_fillrect(struct fb_info *info,
175
175
*/
176
176
base = par -> crtc .o_screen ;
177
177
pitch = info -> fix .line_length ;
178
- Bpp = info -> var .bits_per_pixel >> 3 ;
178
+ bpp = info -> var .bits_per_pixel >> 3 ;
179
179
180
- color = (Bpp == 1 ) ? region -> color :
180
+ color = (bpp == 1 ) ? region -> color :
181
181
((u32 * )info -> pseudo_palette )[region -> color ];
182
182
rop = (region -> rop != ROP_COPY ) ? HW_ROP2_XOR : HW_ROP2_COPY ;
183
183
@@ -190,7 +190,7 @@ static void lynxfb_ops_fillrect(struct fb_info *info,
190
190
spin_lock (& sm750_dev -> slock );
191
191
192
192
sm750_dev -> accel .de_fillrect (& sm750_dev -> accel ,
193
- base , pitch , Bpp ,
193
+ base , pitch , bpp ,
194
194
region -> dx , region -> dy ,
195
195
region -> width , region -> height ,
196
196
color , rop );
@@ -202,7 +202,7 @@ static void lynxfb_ops_copyarea(struct fb_info *info,
202
202
{
203
203
struct lynxfb_par * par ;
204
204
struct sm750_dev * sm750_dev ;
205
- unsigned int base , pitch , Bpp ;
205
+ unsigned int base , pitch , bpp ;
206
206
207
207
par = info -> par ;
208
208
sm750_dev = par -> dev ;
@@ -213,7 +213,7 @@ static void lynxfb_ops_copyarea(struct fb_info *info,
213
213
*/
214
214
base = par -> crtc .o_screen ;
215
215
pitch = info -> fix .line_length ;
216
- Bpp = info -> var .bits_per_pixel >> 3 ;
216
+ bpp = info -> var .bits_per_pixel >> 3 ;
217
217
218
218
/*
219
219
* If not use spin_lock, system will die if user load driver
@@ -225,7 +225,7 @@ static void lynxfb_ops_copyarea(struct fb_info *info,
225
225
226
226
sm750_dev -> accel .de_copyarea (& sm750_dev -> accel ,
227
227
base , pitch , region -> sx , region -> sy ,
228
- base , pitch , Bpp , region -> dx , region -> dy ,
228
+ base , pitch , bpp , region -> dx , region -> dy ,
229
229
region -> width , region -> height ,
230
230
HW_ROP2_COPY );
231
231
spin_unlock (& sm750_dev -> slock );
@@ -234,7 +234,7 @@ static void lynxfb_ops_copyarea(struct fb_info *info,
234
234
static void lynxfb_ops_imageblit (struct fb_info * info ,
235
235
const struct fb_image * image )
236
236
{
237
- unsigned int base , pitch , Bpp ;
237
+ unsigned int base , pitch , bpp ;
238
238
unsigned int fgcol , bgcol ;
239
239
struct lynxfb_par * par ;
240
240
struct sm750_dev * sm750_dev ;
@@ -247,7 +247,7 @@ static void lynxfb_ops_imageblit(struct fb_info *info,
247
247
*/
248
248
base = par -> crtc .o_screen ;
249
249
pitch = info -> fix .line_length ;
250
- Bpp = info -> var .bits_per_pixel >> 3 ;
250
+ bpp = info -> var .bits_per_pixel >> 3 ;
251
251
252
252
/* TODO: Implement hardware acceleration for image->depth > 1 */
253
253
if (image -> depth != 1 ) {
@@ -274,7 +274,7 @@ static void lynxfb_ops_imageblit(struct fb_info *info,
274
274
275
275
sm750_dev -> accel .de_imageblit (& sm750_dev -> accel ,
276
276
image -> data , image -> width >> 3 , 0 ,
277
- base , pitch , Bpp ,
277
+ base , pitch , bpp ,
278
278
image -> dx , image -> dy ,
279
279
image -> width , image -> height ,
280
280
fgcol , bgcol , HW_ROP2_COPY );
0 commit comments