Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759955AbYABXvs (ORCPT ); Wed, 2 Jan 2008 18:51:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753514AbYABXv2 (ORCPT ); Wed, 2 Jan 2008 18:51:28 -0500 Received: from pool-71-245-101-243.ptldor.fios.verizon.net ([71.245.101.243]:52810 "EHLO scooby.int.st.wgz.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753169AbYABXv1 (ORCPT ); Wed, 2 Jan 2008 18:51:27 -0500 From: "Brett T. Warden" To: linux-kernel@vger.kernel.org, trivial@kernel.org Cc: Bill Davidsen , Alan Cox , "Brett T. Warden" Subject: [PATCH] bw-qcam: Rename parameter 'aggressive' to 'force_init' Date: Wed, 2 Jan 2008 15:51:25 -0800 Message-Id: <1199317885-1625-2-git-send-email-brett.warden@gmail.com> X-Mailer: git-send-email 1.5.3.7 In-Reply-To: <1199317885-1625-1-git-send-email-brett.warden@gmail.com> References: a372714f0712051031n31b933bfw6a5f9cb57b8cb5b8@mail.gmail.com <1199317885-1625-1-git-send-email-brett.warden@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1653 Lines: 47 Changed new parameter name to 'force_init' for clarity, as per feedback. Signed-off-by: Brett T. Warden --- drivers/media/video/bw-qcam.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/video/bw-qcam.c b/drivers/media/video/bw-qcam.c index b74a9cb..0322653 100644 --- a/drivers/media/video/bw-qcam.c +++ b/drivers/media/video/bw-qcam.c @@ -82,15 +82,15 @@ OTHER DEALINGS IN THE SOFTWARE. static unsigned int maxpoll=250; /* Maximum busy-loop count for qcam I/O */ static unsigned int yieldlines=4; /* Yield after this many during capture */ static int video_nr = -1; -static unsigned int aggressive; /* Whether to probe aggressively */ +static unsigned int force_init; /* Whether to probe aggressively */ module_param(maxpoll, int, 0); module_param(yieldlines, int, 0); module_param(video_nr, int, 0); -/* Set aggressive=1 to avoid detection by polling status register and +/* Set force_init=1 to avoid detection by polling status register and * immediately attempt to initialize qcam */ -module_param(aggressive, int, 0); +module_param(force_init, int, 0); static inline int read_lpstatus(struct qcam_device *q) { @@ -336,7 +336,7 @@ static int qc_detect(struct qcam_device *q) int count = 0; int i; - if (aggressive) + if (force_init) return 1; lastreg = reg = read_lpstatus(q) & 0xf0; -- 1.5.3.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/