V4L/DVB (12200): mt312: Fix checkpatch warnings
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 2 Jul 2009 19:17:28 +0000 (16:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:17:24 +0000 (12:17 -0300)
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>
drivers/media/dvb/frontends/mt312.c
drivers/media/dvb/frontends/zl10036.c

index f69daaac78c9bf431d1371914d208ad5a9f9811e..472907d43460f8c6536d83d0152ee269de0ad635 100644 (file)
@@ -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 =
index e22a0b381dc4f402bddf043a0d91580a34fc50f6..4e814ff22b23c5f5847b949b8918579bce61bdf0 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <linux/module.h>
 #include <linux/dvb/frontend.h>
-#include <asm/types.h>
+#include <linux/types.h>
 
 #include "zl10036.h"