From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753525Ab2A3UPc (ORCPT ); Mon, 30 Jan 2012 15:15:32 -0500 Received: from cantor2.suse.de ([195.135.220.15]:51834 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752530Ab2A3UPa (ORCPT ); Mon, 30 Jan 2012 15:15:30 -0500 Date: Mon, 30 Jan 2012 21:15:28 +0100 Message-ID: From: Takashi Iwai To: Randy Dunlap Cc: Stephen Rothwell , linux-next@vger.kernel.org, LKML , Jaroslav Kysela , alsa-devel@alsa-project.org, Andrew Morton Subject: Re: [PATCH -next] sound: fix include/sound/core.h warning In-Reply-To: <4F26F2BB.6070701@xenotime.net> References: <20120130144102.8d202c7d8eccd503a86b3053@canb.auug.org.au> <4F26F2BB.6070701@xenotime.net> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Mon, 30 Jan 2012 11:42:51 -0800, Randy Dunlap wrote: > > From: Randy Dunlap > > Fix build warning by providing a struct stub since no fields of > the struct are used: > > include/sound/core.h:454:56: warning: 'struct pci_dev' declared inside parameter list > > Signed-off-by: Randy Dunlap > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: alsa-devel@alsa-project.org Thanks, but it's been already fixed today in sound git tree. Takashi > --- > include/sound/core.h | 2 ++ > 1 file changed, 2 insertions(+) > > --- linux-next-20120130.orig/include/sound/core.h > +++ linux-next-20120130/include/sound/core.h > @@ -450,6 +450,8 @@ struct snd_pci_quirk { > {_SND_PCI_QUIRK_ID_MASK(vend, 0, 0), .value = (val)} > #endif > > +struct pci_dev; > + > const struct snd_pci_quirk * > snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list); > >