Re: 2.5.28: aty128fb.c:1752: incompatible type

From: James Simmons (jsimmons@transvirtual.com)
Date: Thu Jul 25 2002 - 01:38:16 EST


> -DKBUILD_BASENAME=aty128fb -c -o aty128fb.o aty128fb.c
> aty128fb.c: In function `aty128fb_set_var':
> aty128fb.c:1406: warning: implicit declaration of function `do_install_cmap'
> aty128fb.c: In function `aty128_init':
> aty128fb.c:1752: incompatible type for argument 1 of `fb_alloc_cmap'
> make[2]: *** [aty128fb.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.5.25/drivers/video'
> make[1]: *** [video] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.25/drivers'
> make: *** [drivers] Error 2
>
> I can live with 1406. it'll get cleaned up towards code freeze time.
> 1752 is:
>
> fb_alloc_cmap(info->fb_info.cmap, size, 0);

Fix. Missed that change when I back rolled some code changes.

P.S

   NOTE: The drivers using the old fbgen code are now broken. The next set
of fbdev changes will break most drivers. So if you see drivers broken it
is on purpose and please talk to the fbdev driver maintainer about
updating the driver.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:18 EST