patch-2.4.0-test3 linux/drivers/video/atyfb.c
Next file: linux/drivers/video/clgenfb.c
Previous file: linux/drivers/video/aty128fb.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Jul 5 10:56:12 2000
- Orig file:
v2.4.0-test2/linux/drivers/video/atyfb.c
- Orig date:
Fri Jun 23 21:55:10 2000
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/video/atyfb.c linux/drivers/video/atyfb.c
@@ -612,6 +612,7 @@
writeb (val, info->ati_regbase + regindex);
}
+#if defined(CONFIG_PPC) || defined(CONFIG_PMAC_PBOOK)
static void aty_st_lcd(int index, u32 val, const struct fb_info_aty *info)
{
unsigned long temp;
@@ -633,6 +634,7 @@
/* read the register value */
return aty_ld_le32(LCD_DATA, info);
}
+#endif
/*
* Generic Mach64 routines
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)