From patchwork Fri Nov 5 10:35:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 304002 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 oA5AZoe1026766 for ; Fri, 5 Nov 2010 10:35:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752875Ab0KEKfs (ORCPT ); Fri, 5 Nov 2010 06:35:48 -0400 Received: from zone0.gcu-squad.org ([212.85.147.21]:7031 "EHLO services.gcu-squad.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752094Ab0KEKfs (ORCPT ); Fri, 5 Nov 2010 06:35:48 -0400 Received: from jdelvare.pck.nerim.net ([62.212.121.182] helo=endymion.delvare) by services.gcu-squad.org (GCU Mailer Daemon) with esmtpsa id 1PEJkA-0002nT-Am (TLSv1:AES128-SHA:128) (envelope-from ) ; Fri, 05 Nov 2010 11:42:02 +0100 Date: Fri, 5 Nov 2010 11:35:35 +0100 From: Jean Delvare To: LMML Cc: Mauro Carvalho Chehab Subject: [PATCH] V4L/DVB: dibx000_common: Restore i2c algo pointer Message-ID: <20101105113535.25d0e168@endymion.delvare> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.20.1; x86_64-unknown-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, 05 Nov 2010 10:35:51 +0000 (UTC) --- linux-2.6.37-rc1.orig/drivers/media/dvb/frontends/dibx000_common.c 2010-11-02 09:19:35.000000000 +0100 +++ linux-2.6.37-rc1/drivers/media/dvb/frontends/dibx000_common.c 2010-11-05 11:13:48.000000000 +0100 @@ -130,6 +130,7 @@ static int i2c_adapter_init(struct i2c_a struct dibx000_i2c_master *mst) { strncpy(i2c_adap->name, name, sizeof(i2c_adap->name)); + i2c_adap->algo = algo; i2c_adap->algo_data = NULL; i2c_set_adapdata(i2c_adap, mst); if (i2c_add_adapter(i2c_adap) < 0)