/* This callback function is used to set the color registers of a HGA board. Since we have only two fixed colors only @regno is checked. A zero is returned on success and 1 for failure.  */
static int hgafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info)
/* This callback function is used to set the color registers of a HGA board. Since we have only two fixed colors only @regno is checked. A zero is returned on success and 1 for failure.  */
static int hgafb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int transp, struct fb_info *info)
{
	if (regno > 1)
		return 1;
	return 0;
}