Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43800
b: refs/heads/master
c: d95159c
h: refs/heads/master
v: v3
  • Loading branch information
Helge Deller authored and Linus Torvalds committed Dec 8, 2006
1 parent 6be51d3 commit c2326ea
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adf6b206546414fd006098d027e81f2b576ea2aa
refs/heads/master: d95159cf1b12e8e4b169094b35cbd93b887cb939
2 changes: 1 addition & 1 deletion trunk/drivers/video/backlight/backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static struct class backlight_class = {
.store = _store, \
}

static struct class_device_attribute bl_class_device_attributes[] = {
static const struct class_device_attribute bl_class_device_attributes[] = {
DECLARE_ATTR(power, 0644, backlight_show_power, backlight_store_power),
DECLARE_ATTR(brightness, 0644, backlight_show_brightness,
backlight_store_brightness),
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/backlight/lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static struct class lcd_class = {
.store = _store, \
}

static struct class_device_attribute lcd_class_device_attributes[] = {
static const struct class_device_attribute lcd_class_device_attributes[] = {
DECLARE_ATTR(power, 0644, lcd_show_power, lcd_store_power),
DECLARE_ATTR(contrast, 0644, lcd_show_contrast, lcd_store_contrast),
DECLARE_ATTR(max_contrast, 0444, lcd_show_max_contrast, NULL),
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/video/cfbimgblt.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#define DPRINTK(fmt, args...)
#endif

static u32 cfb_tab8[] = {
static const u32 cfb_tab8[] = {
#if defined(__BIG_ENDIAN)
0x00000000,0x000000ff,0x0000ff00,0x0000ffff,
0x00ff0000,0x00ff00ff,0x00ffff00,0x00ffffff,
Expand All @@ -58,7 +58,7 @@ static u32 cfb_tab8[] = {
#endif
};

static u32 cfb_tab16[] = {
static const u32 cfb_tab16[] = {
#if defined(__BIG_ENDIAN)
0x00000000, 0x0000ffff, 0xffff0000, 0xffffffff
#elif defined(__LITTLE_ENDIAN)
Expand All @@ -68,7 +68,7 @@ static u32 cfb_tab16[] = {
#endif
};

static u32 cfb_tab32[] = {
static const u32 cfb_tab32[] = {
0x00000000, 0xffffffff
};

Expand Down Expand Up @@ -218,7 +218,7 @@ static inline void fast_imageblit(const struct fb_image *image, struct fb_info *
u32 bit_mask, end_mask, eorx, shift;
const char *s = image->data, *src;
u32 __iomem *dst;
u32 *tab = NULL;
const u32 *tab = NULL;
int i, j, k;

switch (bpp) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/console/sticon.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ static void sticon_save_screen(struct vc_data *conp)
{
}

static struct consw sti_con = {
static const struct consw sti_con = {
.owner = THIS_MODULE,
.con_startup = sticon_startup,
.con_init = sticon_init,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/fbcvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ struct fb_cvt_data {
u32 status;
};

static int fb_cvt_vbi_tab[] = {
static const unsigned char fb_cvt_vbi_tab[] = {
4, /* 4:3 */
5, /* 16:9 */
6, /* 16:10 */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/fbmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct broken_edid {
u32 fix;
};

static struct broken_edid brokendb[] = {
static const struct broken_edid brokendb[] = {
/* DEC FR-PCXAV-YZ */
{
.manufacturer = "DEC",
Expand Down

0 comments on commit c2326ea

Please sign in to comment.