forked from Minki/linux
staging: sm7xxfb: fix for "rename smtc_screen_info to smtc_scr_info"
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>
This commit is contained in:
parent
cbe7cbf5a6
commit
59e32c490e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user