Skip to contentSkip to conversation

Subject: shmobile: Fix build of the LCDC driver

PATCH In review Rafael J. Wysocki 2 participants 2 messages May 27, 2011 – May 31, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---

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
Index: linux-2.6/drivers/video/sh_mobile_lcdcfb.c
===================================================================
@@ -616,7 +616,7 @@ static int sh_mobile_lcdc_start(struct s
 			struct 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;
#1 lore raw
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

---

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.