From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757013AbZEZRkZ (ORCPT ); Tue, 26 May 2009 13:40:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756696AbZEZRj6 (ORCPT ); Tue, 26 May 2009 13:39:58 -0400 Received: from mga07.intel.com ([143.182.124.22]:48732 "EHLO azsmga101.ch.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756358AbZEZRj5 (ORCPT ); Tue, 26 May 2009 13:39:57 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.41,253,1241420400"; d="scan'208";a="147067779" Message-Id: <20090526174207.914097269@linux.intel.com> References: <20090526174012.423883376@linux.intel.com> User-Agent: quilt/0.46-1 Date: Tue, 26 May 2009 19:40:15 +0200 From: Samuel Ortiz To: linux-kernel , Greg Kroah-Hartmann , Michel Ludwig Cc: Kay Sievers , Samuel Ortiz , Mauro Carvalho Chehab Subject: [PATCH 3/6] tuners/xc2028: prepare for FIRMWARE_NAME_MAX removal Content-Disposition: inline; filename=firmware-xc202.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Samuel Ortiz To: Michel Ludwig We're going to remove the FIRMWARE_NAME_MAX definition in order to avoid any firmware name length restriction. This patch gets rid of the xc2028 FIRMWARE_NAME_MAX reference. Signed-off-by: Samuel Ortiz Cc: Mauro Carvalho Chehab --- drivers/media/common/tuners/tuner-xc2028.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: iwm-2.6/drivers/media/common/tuners/tuner-xc2028.c =================================================================== --- iwm-2.6.orig/drivers/media/common/tuners/tuner-xc2028.c 2009-05-26 17:15:54.000000000 +0200 +++ iwm-2.6/drivers/media/common/tuners/tuner-xc2028.c 2009-05-26 17:19:01.000000000 +0200 @@ -48,7 +48,7 @@ MODULE_PARM_DESC(audio_std, "NICAM/A\n" "NICAM/B\n"); -static char firmware_name[FIRMWARE_NAME_MAX]; +static char firmware_name[30]; module_param_string(firmware_name, firmware_name, sizeof(firmware_name), 0); MODULE_PARM_DESC(firmware_name, "Firmware file name. Allows overriding the " "default firmware name\n"); -- Intel Open Source Technology Centre http://oss.intel.com/