patch-2.4.0-test11 linux/drivers/video/amifb.c
Next file: linux/drivers/video/atafb.c
Previous file: linux/drivers/video/S3triofb.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Nov 7 10:59:43 2000
- Orig file:
v2.4.0-test10/linux/drivers/video/amifb.c
- Orig date:
Tue Jun 20 14:14:51 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/video/amifb.c linux/drivers/video/amifb.c
@@ -598,8 +598,6 @@
#define highw(x) ((u_long)(x)>>16 & 0xffff)
#define loww(x) ((u_long)(x) & 0xffff)
-#define arraysize(x) (sizeof(x)/sizeof(*(x)))
-
#define VBlankOn() custom.intena = IF_SETCLR|IF_COPER
#define VBlankOff() custom.intena = IF_COPER
@@ -921,7 +919,7 @@
#endif
};
-#define NUM_TOTAL_MODES arraysize(ami_modedb)
+#define NUM_TOTAL_MODES ARRAY_SIZE(ami_modedb)
static const char *mode_option __initdata = NULL;
static int round_down_bpp = 1; /* for mode probing */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)