Skip to content

Commit

Permalink
V4L/DVB (12200): mt312: Fix checkpatch warnings
Browse files Browse the repository at this point in the history
This patch fixes some checkpatch warnings in mt312-driver.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Matthias Schwarzott authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent de81c3c commit 0389b34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions drivers/media/dvb/frontends/mt312.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg,
int i;
dprintk("R(%d):", reg & 0x7f);
for (i = 0; i < count; i++)
printk(" %02x", buf[i]);
printk(KERN_CONT " %02x", buf[i]);
printk("\n");
}

Expand All @@ -103,7 +103,7 @@ static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg,
int i;
dprintk("W(%d):", reg & 0x7f);
for (i = 0; i < count; i++)
printk(" %02x", src[i]);
printk(KERN_CONT " %02x", src[i]);
printk("\n");
}

Expand Down Expand Up @@ -744,7 +744,8 @@ static struct dvb_frontend_ops mt312_ops = {
.type = FE_QPSK,
.frequency_min = 950000,
.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_max = MT312_SYS_CLK / 2,
.caps =
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/zl10036.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include <linux/module.h>
#include <linux/dvb/frontend.h>
#include <asm/types.h>
#include <linux/types.h>

#include "zl10036.h"

Expand Down

0 comments on commit 0389b34

Please sign in to comment.