staging: sm7xxfb: fix for "rename smtc_screen_info to smtc_scr_info"
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 19 Jul 2012 22:36:08 +0000 (15:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 22:36:08 +0000 (15:36 -0700)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Javier Muñoz <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xxfb.c

index 90c90db..1c1780c 100644 (file)
@@ -826,7 +826,7 @@ static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,
 
 #ifdef __BIG_ENDIAN
        if (sfb->fb.var.bits_per_pixel == 24)
-               sfb->fb.var.bits_per_pixel = (smtc_screen_info.lfb_depth = 32);
+               sfb->fb.var.bits_per_pixel = (smtc_scr_info.lfb_depth = 32);
 #endif
        /* Map address and memory detection */
        pFramebufferPhysical = pci_resource_start(pdev, 0);