patch-2.4.0-test11 linux/drivers/video/virgefb.c

Next file: linux/fs/Config.in
Previous file: linux/drivers/video/vgacon.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/video/virgefb.c linux/drivers/video/virgefb.c
@@ -46,8 +46,6 @@
 #define DPRINTK(fmt, args...)
 #endif
 
-#define arraysize(x)    (sizeof(x)/sizeof(*(x)))
-
 #if 1
 #define vgawb_3d(reg,dat) \
 	if (cv3d_on_zorro2) { \
@@ -277,7 +275,7 @@
 };
 
 
-#define NUM_TOTAL_MODES    arraysize(virgefb_predefined)
+#define NUM_TOTAL_MODES    ARRAY_SIZE(virgefb_predefined)
 
 
 static int Cyberfb_inverse = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)