|
1 | 1 | /*
|
2 | 2 | * valkyriefb.c -- frame buffer device for the PowerMac 'valkyrie' display
|
3 | 3 | *
|
4 |
| - * Created 8 August 1998 by |
| 4 | + * Created 8 August 1998 by |
5 | 5 | * Martin Costabel <costabel@wanadoo.fr> and Kevin Schoedel
|
6 | 6 | *
|
7 | 7 | * Vmode-switching changes and vmode 15/17 modifications created 29 August
|
@@ -77,13 +77,13 @@ struct fb_info_valkyrie {
|
77 | 77 | struct fb_par_valkyrie par;
|
78 | 78 | struct cmap_regs __iomem *cmap_regs;
|
79 | 79 | unsigned long cmap_regs_phys;
|
80 |
| - |
| 80 | + |
81 | 81 | struct valkyrie_regs __iomem *valkyrie_regs;
|
82 | 82 | unsigned long valkyrie_regs_phys;
|
83 |
| - |
| 83 | + |
84 | 84 | __u8 __iomem *frame_buffer;
|
85 | 85 | unsigned long frame_buffer_phys;
|
86 |
| - |
| 86 | + |
87 | 87 | int sense;
|
88 | 88 | unsigned long total_vram;
|
89 | 89 |
|
@@ -244,7 +244,7 @@ static inline int valkyrie_vram_reqd(int video_mode, int color_mode)
|
244 | 244 | {
|
245 | 245 | int pitch;
|
246 | 246 | struct valkyrie_regvals *init = valkyrie_reg_init[video_mode-1];
|
247 |
| - |
| 247 | + |
248 | 248 | if ((pitch = init->pitch[color_mode]) == 0)
|
249 | 249 | pitch = 2 * init->pitch[0];
|
250 | 250 | return init->vres * pitch;
|
@@ -467,7 +467,7 @@ static int valkyrie_var_to_par(struct fb_var_screeninfo *var,
|
467 | 467 | printk(KERN_ERR "valkyriefb: vmode %d not valid.\n", vmode);
|
468 | 468 | return -EINVAL;
|
469 | 469 | }
|
470 |
| - |
| 470 | + |
471 | 471 | if (cmode != CMODE_8 && cmode != CMODE_16) {
|
472 | 472 | printk(KERN_ERR "valkyriefb: cmode %d not valid.\n", cmode);
|
473 | 473 | return -EINVAL;
|
@@ -516,7 +516,7 @@ static void valkyrie_init_fix(struct fb_fix_screeninfo *fix, struct fb_info_valk
|
516 | 516 | fix->ywrapstep = 0;
|
517 | 517 | fix->ypanstep = 0;
|
518 | 518 | fix->xpanstep = 0;
|
519 |
| - |
| 519 | + |
520 | 520 | }
|
521 | 521 |
|
522 | 522 | /* Fix must already be inited above */
|
|
0 commit comments