From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/3] ASoC: Samsung: Debug PCM snd_soc_dai_driver registration Date: Fri, 10 Sep 2010 10:54:39 +0100 Message-ID: <20100910095438.GD3068@rakim.wolfsonmicro.main> References: <1284104465-17287-1-git-send-email-jassisinghbrar@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 200F910396C for ; Fri, 10 Sep 2010 11:54:40 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1284104465-17287-1-git-send-email-jassisinghbrar@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Jassi Brar Cc: alsa-devel@alsa-project.org, sw.youn@samsung.com, Jassi Brar , lrg@slimlogic.co.uk List-Id: alsa-devel@alsa-project.org On Fri, Sep 10, 2010 at 04:41:05PM +0900, Jassi Brar wrote: > struct snd_soc_dai_driver s3c_pcm_dai[] = { > - S3C_PCM_DAI_DECLARE, > - S3C_PCM_DAI_DECLARE, > + [0] = { > + .name = "samsung-pcm.0", > + S3C_PCM_DAI_DECLARE, You should be able to use the id field rather than adding the number to the names here.