Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753731Ab0AXXy4 (ORCPT ); Sun, 24 Jan 2010 18:54:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752819Ab0AXXyy (ORCPT ); Sun, 24 Jan 2010 18:54:54 -0500 Received: from mail.kapsi.fi ([217.30.184.167]:42594 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784Ab0AXXyy (ORCPT ); Sun, 24 Jan 2010 18:54:54 -0500 Message-ID: <4B5CDDC7.2090600@iki.fi> Date: Mon, 25 Jan 2010 01:54:47 +0200 From: Antti Palosaari User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1 MIME-Version: 1.0 To: Jiri Slaby CC: linux-kernel@vger.kernel.org, jirislaby@gmail.com, Mauro Carvalho Chehab , linux-media@vger.kernel.org Subject: Re: [PATCH 3/4] media: dvb/af9015, refactor remote setting References: <4B4F6BE5.2040102@iki.fi> <1264173055-14787-3-git-send-email-jslaby@suse.cz> In-Reply-To: <1264173055-14787-3-git-send-email-jslaby@suse.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 82.128.185.8 X-SA-Exim-Mail-From: crope@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1018 Lines: 26 On 01/22/2010 05:10 PM, Jiri Slaby wrote: > Add af9015_setup structure to hold (right now only remote) setup > of distinct receivers. > > Add af9015_setup_match for matching ids against tables. > > This is for easier matching different kind of ids against tables > to obtain setups. Currently module parameters and usb vendor ids > are switched into and matched against tables. Hashes will follow. > > Signed-off-by: Jiri Slaby > Cc: Antti Palosaari > Cc: Mauro Carvalho Chehab > Cc: linux-media@vger.kernel.org > --- > drivers/media/dvb/dvb-usb/af9015.c | 222 ++++++++++++++--------------------- > 1 files changed, 89 insertions(+), 133 deletions(-) Acked-by: Antti Palosaari -- http://palosaari.fi/ -- 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/