From patchwork Fri Sep 10 13:35:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 168812 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 o8ADZgAm009662 for ; Fri, 10 Sep 2010 13:35:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754005Ab0IJNfW (ORCPT ); Fri, 10 Sep 2010 09:35:22 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:20822 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754091Ab0IJNfT (ORCPT ); Fri, 10 Sep 2010 09:35:19 -0400 Received: from jdelvare.pck.nerim.net ([62.212.121.182] helo=hyperion.delvare) by services.gcu-squad.org (GCU Mailer Daemon) with esmtpsa id 1Ou3ka-0004JJ-KM (TLSv1:AES256-SHA:256) (envelope-from ) ; Fri, 10 Sep 2010 15:34:44 +0200 Date: Fri, 10 Sep 2010 15:35:12 +0200 From: Jean Delvare To: LMML Cc: Steven Toth Subject: [PATCH 4/5] cx22702: Some things never change Message-ID: <20100910153512.5850b9ed@hyperion.delvare> In-Reply-To: <20100910151943.103f7423@hyperion.delvare> References: <20100910151943.103f7423@hyperion.delvare> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; i586-suse-linux-gnu) Mime-Version: 1.0 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]); Fri, 10 Sep 2010 13:35:43 +0000 (UTC) --- linux-2.6.32-rc5.orig/drivers/media/dvb/frontends/cx22702.c 2009-10-17 14:49:50.000000000 +0200 +++ linux-2.6.32-rc5/drivers/media/dvb/frontends/cx22702.c 2009-10-18 11:44:09.000000000 +0200 @@ -54,7 +54,7 @@ MODULE_PARM_DESC(debug, "Enable verbose #define dprintk if (debug) printk /* Register values to initialise the demod */ -static u8 init_tab[] = { +static const u8 init_tab[] = { 0x00, 0x00, /* Stop aquisition */ 0x0B, 0x06, 0x09, 0x01, @@ -576,7 +576,7 @@ static void cx22702_release(struct dvb_f kfree(state); } -static struct dvb_frontend_ops cx22702_ops; +static const struct dvb_frontend_ops cx22702_ops; struct dvb_frontend *cx22702_attach(const struct cx22702_config *config, struct i2c_adapter *i2c) @@ -608,7 +608,7 @@ error: } EXPORT_SYMBOL(cx22702_attach); -static struct dvb_frontend_ops cx22702_ops = { +static const struct dvb_frontend_ops cx22702_ops = { .info = { .name = "Conexant CX22702 DVB-T",