summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@redhat.com>2009-07-02 16:17:28 -0300
committerDouglas Schilling Landgraf <dougsland@redhat.com>2009-07-02 16:17:28 -0300
commit9a36522fc136e81e75184ee8a62f7376f457e810 (patch)
treebc3bd42b158a77471c6237e0d7bebf89a13725b6 /linux
parenta9ce895e4fbe314a0e7d2b967f576367a8c38acb (diff)
downloadmediapointer-dvb-s2-9a36522fc136e81e75184ee8a62f7376f457e810.tar.gz
mediapointer-dvb-s2-9a36522fc136e81e75184ee8a62f7376f457e810.tar.bz2
mt312: Fix checkpatch warnings
From: Matthias Schwarzott <zzam@gentoo.org> This patch fixes some checkpatch warnings in mt312-driver. Priority: normal Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/frontends/mt312.c7
-rw-r--r--linux/drivers/media/dvb/frontends/zl10036.c2
2 files changed, 5 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt312.c b/linux/drivers/media/dvb/frontends/mt312.c
index a621f7279..071328d7b 100644
--- a/linux/drivers/media/dvb/frontends/mt312.c
+++ b/linux/drivers/media/dvb/frontends/mt312.c
@@ -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");
}
@@ -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");
}
@@ -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 =
diff --git a/linux/drivers/media/dvb/frontends/zl10036.c b/linux/drivers/media/dvb/frontends/zl10036.c
index 67cdb056f..ce2a2703b 100644
--- a/linux/drivers/media/dvb/frontends/zl10036.c
+++ b/linux/drivers/media/dvb/frontends/zl10036.c
@@ -29,7 +29,7 @@
#include <linux/module.h>
#include <linux/dvb/frontend.h>
-#include <asm/types.h>
+#include <linux/types.h>
#include "compat.h"
#include "zl10036.h"