On 15 Jun 2001 21:28:27 +0200, Otto Wyss wrote:
> I tried to set the debug option in the driver "aty128fb.c" but get this
> error:
>
> aty128fb.c: In function `aty128_reset_engine':
> aty128fb.c:655: parse error before `)'
> Source:-------------------------------------------
> ...
> #define DEBUG
> #ifdef DEBUG
> #define DBG(fmt, args...) printk(KERN_DEBUG "aty128fb: %s " fmt,
> __FUNCTION__, ## args);
> #else
> #define DBG(fmt, args...)
> #endif
> ...
> DBG("engine reset");
> ^^^^^^^^^^^^^^^^^^^
> here comes the error
Is this in the 2.2.x kernel? Hmm, that should have been changed to match
modern gcc awhile ago. I guess the patch was never accepted.
Change that line to:
DBG("engine reset %s", "");
Brad Douglas
br...@ne...
|