Magellan Linux

Contents of /trunk/kernel26-alx/patches-2.6.27-r3/0127-2.6.27.28-all-fixes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1176 - (show annotations) (download)
Thu Oct 14 15:11:06 2010 UTC (13 years, 7 months ago) by niro
File size: 469 byte(s)
-2.6.27-alx-r3: new magellan 0.5.2 kernel
1 diff --git a/drivers/video/fbmon.c b/drivers/video/fbmon.c
2 index 6a0aa18..839b0bf 100644
3 --- a/drivers/video/fbmon.c
4 +++ b/drivers/video/fbmon.c
5 @@ -256,8 +256,8 @@ static void fix_edid(unsigned char *edid, int fix)
6
7 static int edid_checksum(unsigned char *edid)
8 {
9 - unsigned char i, csum = 0, all_null = 0;
10 - int err = 0, fix = check_edid(edid);
11 + unsigned char csum = 0, all_null = 0;
12 + int i, err = 0, fix = check_edid(edid);
13
14 if (fix)
15 fix_edid(edid, fix);