Re: [PATCH -next] sound: fix include/sound/core.h warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 30 Jan 2012 11:42:51 -0800,
Randy Dunlap wrote:
> 
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
> 
> 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 <rdunlap@xxxxxxxxxxxx>
> Cc:	Jaroslav Kysela <perex@xxxxxxxx>
> Cc:	Takashi Iwai <tiwai@xxxxxxx>
> Cc:	alsa-devel@xxxxxxxxxxxxxxxx

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);
>  
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux