patch-2.4.0-test11 linux/drivers/video/retz3fb.c
Next file: linux/drivers/video/riva/fbdev.c
Previous file: linux/drivers/video/hpfb.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/retz3fb.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/video/retz3fb.c linux/drivers/video/retz3fb.c
@@ -56,8 +56,6 @@
#define PAT_MEM_SIZE 16*3
#define PAT_MEM_OFF (4*1024*1024 - PAT_MEM_SIZE)
-#define arraysize(x) (sizeof(x)/sizeof(*(x)))
-
struct retz3fb_par {
int xres;
int yres;
@@ -253,7 +251,7 @@
};
-#define NUM_TOTAL_MODES arraysize(retz3fb_predefined)
+#define NUM_TOTAL_MODES ARRAY_SIZE(retz3fb_predefined)
static struct fb_var_screeninfo retz3fb_default;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)