diff options
Diffstat (limited to 'drivers/video/tcx.c')
-rw-r--r-- | drivers/video/tcx.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/tcx.c b/drivers/video/tcx.c index 59fff29bc02e..2b27b4474001 100644 --- a/drivers/video/tcx.c +++ b/drivers/video/tcx.c | |||
@@ -52,6 +52,9 @@ static struct fb_ops tcx_ops = { | |||
52 | .fb_imageblit = cfb_imageblit, | 52 | .fb_imageblit = cfb_imageblit, |
53 | .fb_mmap = tcx_mmap, | 53 | .fb_mmap = tcx_mmap, |
54 | .fb_ioctl = tcx_ioctl, | 54 | .fb_ioctl = tcx_ioctl, |
55 | #ifdef CONFIG_COMPAT | ||
56 | .fb_compat_ioctl = sbusfb_compat_ioctl, | ||
57 | #endif | ||
55 | }; | 58 | }; |
56 | 59 | ||
57 | /* THC definitions */ | 60 | /* THC definitions */ |
@@ -122,7 +125,6 @@ struct tcx_par { | |||
122 | int lowdepth; | 125 | int lowdepth; |
123 | 126 | ||
124 | struct sbus_dev *sdev; | 127 | struct sbus_dev *sdev; |
125 | struct list_head list; | ||
126 | }; | 128 | }; |
127 | 129 | ||
128 | /* Reset control plane so that WID is 8-bit plane. */ | 130 | /* Reset control plane so that WID is 8-bit plane. */ |
@@ -441,7 +443,7 @@ static void tcx_init_one(struct sbus_dev *sdev) | |||
441 | 443 | ||
442 | tcx_reset(&all->info); | 444 | tcx_reset(&all->info); |
443 | 445 | ||
444 | tcx_blank(0, &all->info); | 446 | tcx_blank(FB_BLANK_UNBLANK, &all->info); |
445 | 447 | ||
446 | if (fb_alloc_cmap(&all->info.cmap, 256, 0)) { | 448 | if (fb_alloc_cmap(&all->info.cmap, 256, 0)) { |
447 | printk(KERN_ERR "tcx: Could not allocate color map.\n"); | 449 | printk(KERN_ERR "tcx: Could not allocate color map.\n"); |