diff mbox

Subject: shmobile: Fix build of the LCDC driver

Message ID 201105280123.06622.rjw@sisk.pl (mailing list archive)
State Not Applicable
Headers show

Commit Message

Rafael Wysocki May 27, 2011, 11:23 p.m. UTC
From: Rafael J. Wysocki <rjw@sisk.pl>

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 <rjw@sisk.pl>


I don't know whether this is known or not.  In case it isn't,
here's a fix. :-)


 drivers/video/sh_mobile_lcdcfb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox


Index: linux-2.6/drivers/video/sh_mobile_lcdcfb.c
--- linux-2.6.orig/drivers/video/sh_mobile_lcdcfb.c
+++ 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;