From patchwork Sat Dec 12 12:51:44 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Duncan Gibb X-Patchwork-Id: 66929 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 nBCDGK14002304 for ; Sat, 12 Dec 2009 13:16:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759810AbZLLNQM (ORCPT ); Sat, 12 Dec 2009 08:16:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759805AbZLLNQM (ORCPT ); Sat, 12 Dec 2009 08:16:12 -0500 Received: from snail.duncangibb.com ([217.169.3.184]:4626 "EHLO snail.duncangibb.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759795AbZLLNQL (ORCPT ); Sat, 12 Dec 2009 08:16:11 -0500 Received: from edna.duncangibb.com ([217.169.3.179]) by snail.duncangibb.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NJRRp-000784-Jq for linux-media@vger.kernel.org; Sat, 12 Dec 2009 12:51:47 +0000 Message-ID: <4B2391E0.3040800@duncangibb.com> Date: Sat, 12 Dec 2009 12:51:44 +0000 From: Duncan Gibb User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: linux-media@vger.kernel.org X-Enigmail-Version: 0.95.0 X-SA-Exim-Connect-IP: 217.169.3.179 X-SA-Exim-Mail-From: dg@duncangibb.com X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on snail.duncangibb.com X-Spam-Level: X-Spam-Status: No, score=-2.3 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00, MISSING_SUBJECT,NO_RECEIVED autolearn=no version=3.2.3 Subject: [PATCH] [Trivial] Make saa7134-input.c build for kernels < 2.6.30 X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on snail.duncangibb.com) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff -r db37ff59927f linux/drivers/media/video/saa7134/saa7134-input.c --- a/linux/drivers/media/video/saa7134/saa7134-input.c Thu Dec 10 18:17:49 2009 -0200 +++ b/linux/drivers/media/video/saa7134/saa7134-input.c Sat Dec 12 12:08:10 2009 +0000 @@ -962,7 +962,7 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) snprintf(ir->c.name, sizeof(ir->c.name), "FlyDVB Trio"); ir->get_key = get_key_flydvb_trio; - ir->ir_codes = ir_codes_flydvb_table; + ir->ir_codes = &ir_codes_flydvb_table; #else dev->init_data.name = "FlyDVB Trio"; dev->init_data.get_key = get_key_flydvb_trio;