提交 0389b34e 编写于 作者: M Matthias Schwarzott 提交者: Mauro Carvalho Chehab

V4L/DVB (12200): mt312: Fix checkpatch warnings

This patch fixes some checkpatch warnings in mt312-driver.
Signed-off-by: NMatthias Schwarzott <zzam@gentoo.org>
Signed-off-by: NDouglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 de81c3c3
...@@ -85,7 +85,7 @@ static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg, ...@@ -85,7 +85,7 @@ static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg,
int i; int i;
dprintk("R(%d):", reg & 0x7f); dprintk("R(%d):", reg & 0x7f);
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
printk(" %02x", buf[i]); printk(KERN_CONT " %02x", buf[i]);
printk("\n"); printk("\n");
} }
...@@ -103,7 +103,7 @@ static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg, ...@@ -103,7 +103,7 @@ static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg,
int i; int i;
dprintk("W(%d):", reg & 0x7f); dprintk("W(%d):", reg & 0x7f);
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
printk(" %02x", src[i]); printk(KERN_CONT " %02x", src[i]);
printk("\n"); printk("\n");
} }
...@@ -744,7 +744,8 @@ static struct dvb_frontend_ops mt312_ops = { ...@@ -744,7 +744,8 @@ static struct dvb_frontend_ops mt312_ops = {
.type = FE_QPSK, .type = FE_QPSK,
.frequency_min = 950000, .frequency_min = 950000,
.frequency_max = 2150000, .frequency_max = 2150000,
.frequency_stepsize = (MT312_PLL_CLK / 1000) / 128, /* FIXME: adjust freq to real used xtal */ /* FIXME: adjust freq to real used xtal */
.frequency_stepsize = (MT312_PLL_CLK / 1000) / 128,
.symbol_rate_min = MT312_SYS_CLK / 128, /* FIXME as above */ .symbol_rate_min = MT312_SYS_CLK / 128, /* FIXME as above */
.symbol_rate_max = MT312_SYS_CLK / 2, .symbol_rate_max = MT312_SYS_CLK / 2,
.caps = .caps =
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/dvb/frontend.h> #include <linux/dvb/frontend.h>
#include <asm/types.h> #include <linux/types.h>
#include "zl10036.h" #include "zl10036.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册