From patchwork Mon Jun 22 14:32:47 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schwarzott X-Patchwork-Id: 1258 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Mon, 22 Jun 2009 14:33:04 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra.chehab.org with IMAP (fetchmail-6.3.6) for (single-drop); Mon, 22 Jun 2009 11:34:09 -0300 (BRT) Received: from vger.kernel.org ([209.132.176.167]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1MIkZz-0004zp-S1; Mon, 22 Jun 2009 14:33:04 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757342AbZFVOcw (ORCPT + 1 other); Mon, 22 Jun 2009 10:32:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757331AbZFVOcw (ORCPT ); Mon, 22 Jun 2009 10:32:52 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:37581 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757325AbZFVOcv (ORCPT ); Mon, 22 Jun 2009 10:32:51 -0400 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 970481C1538C; Mon, 22 Jun 2009 16:32:52 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 1A282903F5; Mon, 22 Jun 2009 16:32:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id jf3VaX-BxmSx; Mon, 22 Jun 2009 16:32:50 +0200 (CEST) Received: from gauss.x.fun (ppp-88-217-107-241.dynamic.mnet-online.de [88.217.107.241]) by mail.nefkom.net (Postfix) with ESMTP; Mon, 22 Jun 2009 16:32:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gauss.x.fun (Postfix) with ESMTP id 4806A1FC9AA; Mon, 22 Jun 2009 16:32:50 +0200 (CEST) From: Matthias Schwarzott To: linux-media@vger.kernel.org, Mauro Carvalho Chehab Subject: mt312: Fix checkpatch warnings Date: Mon, 22 Jun 2009 16:32:47 +0200 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Message-Id: <200906221632.48271.zzam@gentoo.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi list! This patch fixes some checkpatch warnings in mt312-driver. Signed-off-by: Matthias Schwarzott Regards Matthias Index: v4l-dvb/linux/drivers/media/dvb/frontends/mt312.c =================================================================== --- v4l-dvb.orig/linux/drivers/media/dvb/frontends/mt312.c +++ v4l-dvb/linux/drivers/media/dvb/frontends/mt312.c @@ -85,7 +85,7 @@ static int mt312_read(struct mt312_state 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_stat 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: v4l-dvb/linux/drivers/media/dvb/frontends/zl10036.c =================================================================== --- v4l-dvb.orig/linux/drivers/media/dvb/frontends/zl10036.c +++ v4l-dvb/linux/drivers/media/dvb/frontends/zl10036.c @@ -29,7 +29,7 @@ #include #include -#include +#include #include "compat.h" #include "zl10036.h"