You need to sign in or sign up before continuing.
提交 907a2317 编写于 作者: U Ulf Hansson

Merge branch 'fixes' into next

...@@ -1424,7 +1424,9 @@ static const struct file_operations s3cmci_fops_state = { ...@@ -1424,7 +1424,9 @@ static const struct file_operations s3cmci_fops_state = {
struct s3cmci_reg { struct s3cmci_reg {
unsigned short addr; unsigned short addr;
unsigned char *name; unsigned char *name;
} debug_regs[] = { };
static const struct s3cmci_reg debug_regs[] = {
DBG_REG(CON), DBG_REG(CON),
DBG_REG(PRE), DBG_REG(PRE),
DBG_REG(CMDARG), DBG_REG(CMDARG),
...@@ -1446,7 +1448,7 @@ struct s3cmci_reg { ...@@ -1446,7 +1448,7 @@ struct s3cmci_reg {
static int s3cmci_regs_show(struct seq_file *seq, void *v) static int s3cmci_regs_show(struct seq_file *seq, void *v)
{ {
struct s3cmci_host *host = seq->private; struct s3cmci_host *host = seq->private;
struct s3cmci_reg *rptr = debug_regs; const struct s3cmci_reg *rptr = debug_regs;
for (; rptr->name; rptr++) for (; rptr->name; rptr++)
seq_printf(seq, "SDI%s\t=0x%08x\n", rptr->name, seq_printf(seq, "SDI%s\t=0x%08x\n", rptr->name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册