summaryrefslogtreecommitdiffstats
path: root/drivers/video/retz3fb.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-11-28 03:58:46 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-11-28 03:58:46 +0000
commitb63ad0882a16a5d28003e57f2b0b81dee3fb322b (patch)
tree0a343ce219e2b8b38a5d702d66032c57b83d9720 /drivers/video/retz3fb.c
parenta9d7bff9a84dba79609a0002e5321b74c4d64c64 (diff)
Merge with 2.4.0-test11.
Diffstat (limited to 'drivers/video/retz3fb.c')
-rw-r--r--drivers/video/retz3fb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/retz3fb.c b/drivers/video/retz3fb.c
index 13e843c3d..ad1aeac38 100644
--- a/drivers/video/retz3fb.c
+++ b/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 @@ static struct {
};
-#define NUM_TOTAL_MODES arraysize(retz3fb_predefined)
+#define NUM_TOTAL_MODES ARRAY_SIZE(retz3fb_predefined)
static struct fb_var_screeninfo retz3fb_default;