* [PATCH] Subject: shmobile: Fix build of the LCDC driver
@ 2011-05-27 23:23 Rafael J. Wysocki
2011-05-31 4:08 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2011-05-27 23:23 UTC (permalink / raw)
To: linux-sh; +Cc: LKML, Guennadi Liakhovetski, Magnus Damm, Paul Mundt
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>
---
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(-)
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Subject: shmobile: Fix build of the LCDC driver
2011-05-27 23:23 [PATCH] Subject: shmobile: Fix build of the LCDC driver Rafael J. Wysocki
@ 2011-05-31 4:08 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2011-05-31 4:08 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: linux-sh, LKML, Guennadi Liakhovetski, Magnus Damm
On Sat, May 28, 2011 at 01:23:06AM +0200, Rafael J. Wysocki wrote:
> 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>
> ---
>
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-31 4:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 23:23 [PATCH] Subject: shmobile: Fix build of the LCDC driver Rafael J. Wysocki
2011-05-31 4:08 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox