From patchwork Wed Dec 9 20:09:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea X-Patchwork-Id: 66072 X-Patchwork-Delegate: dougsland@redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB9K9XQG031911 for ; Wed, 9 Dec 2009 20:09:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757392AbZLIUJZ (ORCPT ); Wed, 9 Dec 2009 15:09:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757386AbZLIUJZ (ORCPT ); Wed, 9 Dec 2009 15:09:25 -0500 Received: from lo.gmane.org ([80.91.229.12]:49876 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757256AbZLIUJY (ORCPT ); Wed, 9 Dec 2009 15:09:24 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NISql-0000o8-Oj for linux-media@vger.kernel.org; Wed, 09 Dec 2009 21:09:27 +0100 Received: from cpc4-dals10-0-0-cust795.hari.cable.virginmedia.com ([92.234.3.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Dec 2009 21:09:27 +0100 Received: from mariofutire by cpc4-dals10-0-0-cust795.hari.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Dec 2009 21:09:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: linux-media@vger.kernel.org From: Andrea Subject: [PATCH] PWC: parameter trace is only available in debug Date: Wed, 09 Dec 2009 20:09:07 +0000 Lines: 31 Message-ID: Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc4-dals10-0-0-cust795.hari.cable.virginmedia.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff -r 065f9e34e07b linux/drivers/media/video/pwc/pwc-if.c --- a/linux/drivers/media/video/pwc/pwc-if.c Mon Dec 07 10:08:33 2009 -0200 +++ b/linux/drivers/media/video/pwc/pwc-if.c Wed Dec 09 20:04:45 2009 +0000 @@ -1959,7 +1959,9 @@ MODULE_PARM_DESC(fps, "Initial frames per second. Varies with model, useful range 5-30"); MODULE_PARM_DESC(fbufs, "Number of internal frame buffers to reserve"); MODULE_PARM_DESC(mbufs, "Number of external (mmap()ed) image buffers"); +#ifdef CONFIG_USB_PWC_DEBUG MODULE_PARM_DESC(trace, "For debugging purposes"); +#endif MODULE_PARM_DESC(power_save, "Turn power save feature in camera on or off"); MODULE_PARM_DESC(compression, "Preferred compression quality. Range 0 (uncompressed) to 3 (high compression)"); MODULE_PARM_DESC(leds, "LED on,off time in milliseconds");