q40fb.c (52920704df878050123dfeb469aa6ab8022547c1) q40fb.c (d88e49ad27f0973d69218bc4aee2f872f7c3e095)
1/*
2 * linux/drivers/video/q40fb.c -- Q40 frame buffer device
3 *
4 * Copyright (C) 2001
5 *
6 * Richard Zidlicky <rz@linux-m68k.org>
7 *
8 * This file is subject to the terms and conditions of the GNU General Public

--- 62 unchanged lines hidden (view full) ---

71 ((green & 31) << 11) |
72 (blue & 63);
73 }
74 return 0;
75}
76
77static const struct fb_ops q40fb_ops = {
78 .owner = THIS_MODULE,
1/*
2 * linux/drivers/video/q40fb.c -- Q40 frame buffer device
3 *
4 * Copyright (C) 2001
5 *
6 * Richard Zidlicky <rz@linux-m68k.org>
7 *
8 * This file is subject to the terms and conditions of the GNU General Public

--- 62 unchanged lines hidden (view full) ---

71 ((green & 31) << 11) |
72 (blue & 63);
73 }
74 return 0;
75}
76
77static const struct fb_ops q40fb_ops = {
78 .owner = THIS_MODULE,
79 FB_DEFAULT_IOMEM_OPS,
79 .fb_setcolreg = q40fb_setcolreg,
80 .fb_setcolreg = q40fb_setcolreg,
80 .fb_fillrect = cfb_fillrect,
81 .fb_copyarea = cfb_copyarea,
82 .fb_imageblit = cfb_imageblit,
83};
84
85static int q40fb_probe(struct platform_device *dev)
86{
87 struct fb_info *info;
88
89 if (!MACH_IS_Q40)
90 return -ENXIO;

--- 63 unchanged lines hidden ---
81};
82
83static int q40fb_probe(struct platform_device *dev)
84{
85 struct fb_info *info;
86
87 if (!MACH_IS_Q40)
88 return -ENXIO;

--- 63 unchanged lines hidden ---