staging: sm750fb: Rename maxW to max_w in lynx_cursor
[linux-2.6-microblaze.git] / drivers / staging / sm750fb / sm750.c
index ee9ee28..4f5f68e 100644 (file)
@@ -112,7 +112,7 @@ static int lynxfb_ops_cursor(struct fb_info *info, struct fb_cursor *fbcursor)
        crtc = &par->crtc;
        cursor = &crtc->cursor;
 
-       if (fbcursor->image.width > cursor->maxW ||
+       if (fbcursor->image.width > cursor->max_w ||
            fbcursor->image.height > cursor->max_h ||
            fbcursor->image.depth > 1) {
                return -ENXIO;
@@ -723,8 +723,8 @@ static int lynxfb_set_fbinfo(struct fb_info *info, int index)
                0x800f0 + (int)crtc->channel * 0x140;
 
        pr_info("crtc->cursor.mmio = %p\n", crtc->cursor.mmio);
-       crtc->cursor.max_h = crtc->cursor.maxW = 64;
-       crtc->cursor.size = crtc->cursor.max_h * crtc->cursor.maxW * 2 / 8;
+       crtc->cursor.max_h = crtc->cursor.max_w = 64;
+       crtc->cursor.size = crtc->cursor.max_h * crtc->cursor.max_w * 2 / 8;
        crtc->cursor.vstart = sm750_dev->pvMem + crtc->cursor.offset;
 
        memset_io(crtc->cursor.vstart, 0, crtc->cursor.size);