Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167023
b: refs/heads/master
c: 82e8650
h: refs/heads/master
i:
  167021: ecadf91
  167019: 3ce0a86
  167015: bb713b2
  167007: cd515d9
v: v3
  • Loading branch information
Tommi Rantala authored and Tony Lindgren committed Oct 6, 2009
1 parent a82ea9f commit aaf1d01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 7999cad0e3d59f3430173288048c971bef3ec492
refs/heads/master: 82e865011accc9fd1e048961da7cefc4d08f3292
8 changes: 4 additions & 4 deletions trunk/drivers/video/omap/blizzard.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct blizzard_reg_list {
};

/* These need to be saved / restored separately from the rest. */
static struct blizzard_reg_list blizzard_pll_regs[] = {
static const struct blizzard_reg_list blizzard_pll_regs[] = {
{
.start = 0x04, /* Don't save PLL ctrl (0x0C) */
.end = 0x0a,
Expand All @@ -104,7 +104,7 @@ static struct blizzard_reg_list blizzard_pll_regs[] = {
},
};

static struct blizzard_reg_list blizzard_gen_regs[] = {
static const struct blizzard_reg_list blizzard_gen_regs[] = {
{
.start = 0x18, /* SDRAM control */
.end = 0x20,
Expand Down Expand Up @@ -1372,7 +1372,7 @@ static void blizzard_get_caps(int plane, struct omapfb_caps *caps)
(1 << OMAPFB_COLOR_YUV420);
}

static void _save_regs(struct blizzard_reg_list *list, int cnt)
static void _save_regs(const struct blizzard_reg_list *list, int cnt)
{
int i;

Expand All @@ -1383,7 +1383,7 @@ static void _save_regs(struct blizzard_reg_list *list, int cnt)
}
}

static void _restore_regs(struct blizzard_reg_list *list, int cnt)
static void _restore_regs(const struct blizzard_reg_list *list, int cnt)
{
int i;

Expand Down

0 comments on commit aaf1d01

Please sign in to comment.