mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[ARM] omap: fix a pile of issues
This patch fixes a number of sillies, from missing 'const' to using 'return' in void functions, to functions with no arguments not even 'void' and a cast which isn't required. Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
d9d060a98f
commit
020f97063d
4 changed files with 8 additions and 8 deletions
|
|
@ -392,7 +392,7 @@ static void set_fb_fix(struct fb_info *fbi)
|
|||
int bpp;
|
||||
|
||||
rg = &plane->fbdev->mem_desc.region[plane->idx];
|
||||
fbi->screen_base = (char __iomem *)rg->vaddr;
|
||||
fbi->screen_base = rg->vaddr;
|
||||
fix->smem_start = rg->paddr;
|
||||
fix->smem_len = rg->size;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue