diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-11-23 02:00:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-11-23 02:00:47 +0000 |
commit | 06615f62b17d7de6e12d2f5ec6b88cf30af08413 (patch) | |
tree | 8766f208847d4876a6db619aebbf54d53b76eb44 /drivers/video/fbmem.c | |
parent | fa9bdb574f4febb751848a685d9a9017e04e1d53 (diff) |
Merge with Linux 2.4.0-test10.
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r-- | drivers/video/fbmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 015b8b946..7b3d49822 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c @@ -618,7 +618,7 @@ int GET_FB_IDX(kdev_t rdev) int fbidx = MINOR(rdev); if (fbidx >= 32) { int newfbidx = fbidx >> 5; - static int warned = 0; + static int warned; if (!(warned & (1<<newfbidx))) { warned |= 1<<newfbidx; printk("Warning: Remapping obsolete /dev/fb* minor %d to %d\n", @@ -679,7 +679,7 @@ static struct file_operations fb_fops = { release: fb_release, }; -static devfs_handle_t devfs_handle = NULL; +static devfs_handle_t devfs_handle; int register_framebuffer(struct fb_info *fb_info) |