Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fbdev: carminefb: Fix spelling mistake of CARMINE_TOTAL_DIPLAY_MEM

There is a spelling mistake in macro CARMINE_TOTAL_DIPLAY_MEM. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Colin Ian King and committed by
Helge Deller
67ebb589 2be35879

+5 -5
+4 -4
drivers/video/fbdev/carminefb.c
··· 649 649 * is required for that largest resolution to avoid remaps at run 650 650 * time 651 651 */ 652 - if (carminefb_fix.smem_len > CARMINE_TOTAL_DIPLAY_MEM) 653 - carminefb_fix.smem_len = CARMINE_TOTAL_DIPLAY_MEM; 652 + if (carminefb_fix.smem_len > CARMINE_TOTAL_DISPLAY_MEM) 653 + carminefb_fix.smem_len = CARMINE_TOTAL_DISPLAY_MEM; 654 654 655 - else if (carminefb_fix.smem_len < CARMINE_TOTAL_DIPLAY_MEM) { 655 + else if (carminefb_fix.smem_len < CARMINE_TOTAL_DISPLAY_MEM) { 656 656 printk(KERN_ERR "carminefb: Memory bar is only %d bytes, %d " 657 657 "are required.", carminefb_fix.smem_len, 658 - CARMINE_TOTAL_DIPLAY_MEM); 658 + CARMINE_TOTAL_DISPLAY_MEM); 659 659 goto err_unmap_vregs; 660 660 } 661 661
+1 -1
drivers/video/fbdev/carminefb.h
··· 7 7 8 8 #define MAX_DISPLAY 2 9 9 #define CARMINE_DISPLAY_MEM (800 * 600 * 4) 10 - #define CARMINE_TOTAL_DIPLAY_MEM (CARMINE_DISPLAY_MEM * MAX_DISPLAY) 10 + #define CARMINE_TOTAL_DISPLAY_MEM (CARMINE_DISPLAY_MEM * MAX_DISPLAY) 11 11 12 12 #define CARMINE_USE_DISPLAY0 (1 << 0) 13 13 #define CARMINE_USE_DISPLAY1 (1 << 1)