Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087Ab1CDHR5 (ORCPT ); Fri, 4 Mar 2011 02:17:57 -0500 Received: from mail-gx0-f174.google.com ([209.85.161.174]:55153 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751411Ab1CDHR4 (ORCPT ); Fri, 4 Mar 2011 02:17:56 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=TJo8kzkCwYL/FmMlvXgwed7r15kHEKb62A8NY/2uLLQSEz8eknAGnmqw6vaUftsRjy 4K5dcuDueSuRAvpM77xR+Wq/16ULVIf0lLYL0XMuSjeNDEASu+CopDrxSA62nMLsNy8X WCSSf3dFznbDfSB7m8Jo5oTaHeEta2vjnxt+E= Subject: [PATCH 2/2] ASoC: Constify i2c_device_id table From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Alexander Sverdlin , Timur Tabi , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org In-Reply-To: <1299223098.20907.1.camel@mola> References: <1299223098.20907.1.camel@mola> Content-Type: text/plain Date: Fri, 04 Mar 2011 15:22:03 +0800 Message-Id: <1299223323.20907.4.camel@mola> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1398 Lines: 44 Signed-off-by: Axel Lin Cc: Alexander Sverdlin Cc: Timur Tabi --- sound/soc/codecs/cs4270.c | 2 +- sound/soc/codecs/cs4271.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c index 65f578f..0206a17 100644 --- a/sound/soc/codecs/cs4270.c +++ b/sound/soc/codecs/cs4270.c @@ -719,7 +719,7 @@ static int cs4270_i2c_remove(struct i2c_client *i2c_client) /* * cs4270_id - I2C device IDs supported by this driver */ -static struct i2c_device_id cs4270_id[] = { +static const struct i2c_device_id cs4270_id[] = { {"cs4270", 0}, {} }; diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c index 1791796..41a3ee6 100644 --- a/sound/soc/codecs/cs4271.c +++ b/sound/soc/codecs/cs4271.c @@ -555,7 +555,7 @@ static struct spi_driver cs4271_spi_driver = { #endif /* defined(CONFIG_SPI_MASTER) */ #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) -static struct i2c_device_id cs4271_i2c_id[] = { +static const struct i2c_device_id cs4271_i2c_id[] = { {"cs4271", 0}, {} }; -- 1.7.2 -- 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/