arcfb.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) arcfb.c (ca9384c5911199257cbdf48f1bc3e3986de611a2)
1/*
2 * linux/drivers/video/arcfb.c -- FB driver for Arc monochrome LCD board
3 *
4 * Copyright (C) 2005, Jaya Kumar <jayalk@intworks.biz>
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file COPYING in the main directory of this archive for
8 * more details.

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

74 unsigned long c2io_addr;
75 atomic_t ref_count;
76 unsigned char cslut[9];
77 struct fb_info *info;
78 unsigned int irq;
79 spinlock_t lock;
80};
81
1/*
2 * linux/drivers/video/arcfb.c -- FB driver for Arc monochrome LCD board
3 *
4 * Copyright (C) 2005, Jaya Kumar <jayalk@intworks.biz>
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file COPYING in the main directory of this archive for
8 * more details.

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

74 unsigned long c2io_addr;
75 atomic_t ref_count;
76 unsigned char cslut[9];
77 struct fb_info *info;
78 unsigned int irq;
79 spinlock_t lock;
80};
81
82static struct fb_fix_screeninfo arcfb_fix = {
82static const struct fb_fix_screeninfo arcfb_fix = {
83 .id = "arcfb",
84 .type = FB_TYPE_PACKED_PIXELS,
85 .visual = FB_VISUAL_MONO01,
86 .xpanstep = 0,
87 .ypanstep = 1,
88 .ywrapstep = 0,
89 .accel = FB_ACCEL_NONE,
90};
91
83 .id = "arcfb",
84 .type = FB_TYPE_PACKED_PIXELS,
85 .visual = FB_VISUAL_MONO01,
86 .xpanstep = 0,
87 .ypanstep = 1,
88 .ywrapstep = 0,
89 .accel = FB_ACCEL_NONE,
90};
91
92static struct fb_var_screeninfo arcfb_var = {
92static const struct fb_var_screeninfo arcfb_var = {
93 .xres = 128,
94 .yres = 64,
95 .xres_virtual = 128,
96 .yres_virtual = 64,
97 .bits_per_pixel = 1,
98 .nonstd = 1,
99};
100

--- 567 unchanged lines hidden ---
93 .xres = 128,
94 .yres = 64,
95 .xres_virtual = 128,
96 .yres_virtual = 64,
97 .bits_per_pixel = 1,
98 .nonstd = 1,
99};
100

--- 567 unchanged lines hidden ---