Subject: shmobile: Fix build of the LCDC driver
Subsystems (2)
PATCH 1/1 Subject: shmobile: Fix build of the LCDC driver
From: Rafael J. Wysocki <[email protected]>
The shmobile lcdcfb driver fails to build because of the undefined ret variable in sh_mobile_lcdc_start(). Fix this problem.
Signed-off-by Rafael J. Wysocki <[email protected]>
---
Hi,
I don't know whether this is known or not. In case it isn't, here's a fix. :-)
Thanks,
Rafael
--- drivers/video/sh_mobile_lcdcfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/sh_mobile_lcdcfb.c +1 -1
@@ -616,7 +616,7 @@ static int sh_mobile_lcdc_start(struct sstruct sh_mobile_meram_info *mdev;unsigned long icb_addr_y, icb_addr_c;int icb_pitch; -int pf; +int pf, ret; cfg = ch->cfg.meram_cfg; mdev = priv->meram_dev;
Quoted 5 lines · Rafael J. Wysocki
From: Rafael J. Wysocki <[email protected]>
The shmobile lcdcfb driver fails to build because of the undefined ret variable in
sh_mobile_lcdc_start(). Fix this problem.
Quoted 8 lines
Signed-off-by Rafael J. Wysocki <[email protected]>---
Hi,
I don't know whether this is known or not. In case it isn't, here's a fix. :-)
Already fixed in the fbdev tree, it'll be in the next round of updates.