The following patch against linux_2_4 cleans up this little compilation error:
clocks.c: In function `set_au1x00_lcd_clock':
clocks.c:89: error: parse error before string constant
clocks.c:90: warning: left-hand operand of comma expression has no effect
clocks.c:90: error: parse error before ')' token
Index: arch/mips/au1000/common/clocks.c
===================================================================
RCS file:
/home/kevint/whdd/linux-mips-cvs/linux/arch/mips/au1000/common/clocks.c,v
retrieving revision 1.2.2.5
diff -u -r1.2.2.5 clocks.c
--- arch/mips/au1000/common/clocks.c 12 May 2004 07:31:08 -0000 1.2.2.5
+++ arch/mips/au1000/common/clocks.c 10 Jun 2005 20:55:59 -0000
@@ -85,9 +85,8 @@
lcd_clock = sys_busclk / 4;
if (lcd_clock > 50000) /* Epson MAX */
- printk(__FUNCTION__
- ": warning: LCD clock too high (%d KHz)\n",
- lcd_clock);
+ printk("%s: warning: LCD clock too high (%d KHz)\n",
+ __FUNCTION__, lcd_clock);
}
unsigned int get_au1x00_lcd_clock(void)
--
The moon is waxing crescent, 12.3% illuminated, 3.4 days old.
|