Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268808
b: refs/heads/master
c: 4397c7f
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Oct 12, 2011
1 parent 42d6fc6 commit f0b37e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 2f0f395ef788319b03bc0be785c5bee8d8bececa
refs/heads/master: 4397c7f03b52b3a26fd5e1ed934f0d1a66160b33
10 changes: 5 additions & 5 deletions trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

#include <linux/io.h>

static unsigned short XGINew_DDRDRAM_TYPE340[4][5] = {
static const unsigned short XGINew_DDRDRAM_TYPE340[4][5] = {
{ 2, 13, 9, 64, 0x45},
{ 2, 12, 9, 32, 0x35},
{ 2, 12, 8, 16, 0x31},
{ 2, 11, 8, 8, 0x21} };

static unsigned short XGINew_DDRDRAM_TYPE20[12][5] = {
static const unsigned short XGINew_DDRDRAM_TYPE20[12][5] = {
{ 2, 14, 11, 128, 0x5D},
{ 2, 14, 10, 64, 0x59},
{ 2, 13, 11, 64, 0x4D},
Expand Down Expand Up @@ -589,7 +589,7 @@ static void XGINew_SetDRAMDefaultRegister340(
}

static void XGINew_SetDRAMSizingType(int index,
unsigned short DRAMTYPE_TABLE[][5],
const unsigned short DRAMTYPE_TABLE[][5],
struct vb_device_info *pVBInfo)
{
unsigned short data;
Expand All @@ -601,7 +601,7 @@ static void XGINew_SetDRAMSizingType(int index,
}

static unsigned short XGINew_SetDRAMSizeReg(int index,
unsigned short DRAMTYPE_TABLE[][5],
const unsigned short DRAMTYPE_TABLE[][5],
struct vb_device_info *pVBInfo)
{
unsigned short data = 0, memsize = 0;
Expand Down Expand Up @@ -645,7 +645,7 @@ static unsigned short XGINew_SetDRAMSizeReg(int index,
}

static unsigned short XGINew_SetDRAMSize20Reg(int index,
unsigned short DRAMTYPE_TABLE[][5],
const unsigned short DRAMTYPE_TABLE[][5],
struct vb_device_info *pVBInfo)
{
unsigned short data = 0, memsize = 0;
Expand Down

0 comments on commit f0b37e8

Please sign in to comment.