From patchwork Wed Oct 20 09:34:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ruslanpisarev@gmail.com X-Patchwork-Id: 268251 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9K9YpVc031493 for ; Wed, 20 Oct 2010 09:34:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752332Ab0JTJeu (ORCPT ); Wed, 20 Oct 2010 05:34:50 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:43634 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752187Ab0JTJet (ORCPT ); Wed, 20 Oct 2010 05:34:49 -0400 Received: by mail-bw0-f46.google.com with SMTP id 10so1122571bwz.19 for ; Wed, 20 Oct 2010 02:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=QCZ9luRPEons742TqRLKePYT/DOyF/3wrdQwRAb3bqk=; b=KYnwMDzfHrcD35T0Wwur43bEMz09+9tTAHeGzjSMvdmm5NFvW0uOI8XlFGi68awyj7 +CHHq6EQCt627KyJk0i/xJ2QbwUU3tZgYcitM4Szhr+mh6uo/cB/niSc8vFhgF+yOhmD QWmIWvR81fgB1FHae4f2KGVyG6AhkTwsImpBk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=u1+7oMBLMAOBWrqbkXdplWIUxhxFUwh7mwXuV+kKjyiMNvBgSuA3jgaRZM+nkXSqVk g98Y9SaTZ4u9rHq+6/ST0hHd+o2bTO85zNfFruNaPKEsUZbxKSes6k/szfbyaFamilus DHmrMYd6FnReFbA08kkbPvctGm8+Mc0J3nbc4= Received: by 10.204.72.211 with SMTP id n19mr6531972bkj.146.1287567288541; Wed, 20 Oct 2010 02:34:48 -0700 (PDT) Received: from localhost.localdomain ([109.254.0.19]) by mx.google.com with ESMTPS id o12sm17508621bkb.9.2010.10.20.02.34.47 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Oct 2010 02:34:47 -0700 (PDT) From: Ruslan Pisarev To: linux-media@vger.kernel.org Cc: Ruslan Pisarev Subject: [PATCH 2/6] Staging: tm6000: fix "ERROR: do not initialise statics to 0 or NULL" in tm6000-i2c.c Date: Wed, 20 Oct 2010 12:34:40 +0300 Message-Id: <1287567280-18700-1-git-send-email-ruslan@rpisarev.org.ua> X-Mailer: git-send-email 1.7.0.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 20 Oct 2010 09:34:52 +0000 (UTC) diff --git a/drivers/staging/tm6000/tm6000-i2c.c b/drivers/staging/tm6000/tm6000-i2c.c index 79bc67f..a08d6a3 100644 --- a/drivers/staging/tm6000/tm6000-i2c.c +++ b/drivers/staging/tm6000/tm6000-i2c.c @@ -36,7 +36,7 @@ #define I2C_HW_B_TM6000 I2C_HW_B_EM28XX /* ----------------------------------------------------------- */ -static unsigned int i2c_debug = 0; +static unsigned int i2c_debug; module_param(i2c_debug, int, 0644); MODULE_PARM_DESC(i2c_debug, "enable debug messages [i2c]");