patch-2.4.0-test11 linux/drivers/video/atafb.c
Next file: linux/drivers/video/clgenfb.c
Previous file: linux/drivers/video/amifb.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/atafb.c
- Orig date:
Tue Jun 20 14:14:51 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/video/atafb.c linux/drivers/video/atafb.c
@@ -86,8 +86,6 @@
#define SWITCH_NONE 0x00
-#define arraysize(x) (sizeof(x)/sizeof(*(x)))
-
#define up(x, r) (((x) + (r) - 1) & ~((r)-1))
@@ -429,7 +427,7 @@
0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0 },
};
-static int num_atafb_predefined=arraysize(atafb_predefined);
+static int num_atafb_predefined=ARRAY_SIZE(atafb_predefined);
static int
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)