lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] sound: fix include/sound/core.h warning
From: Randy Dunlap <rdunlap@xenotime.net>

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@xenotime.net>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
---
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);


\
 
 \ /
  Last update: 2012-01-30 19:47    [W:0.077 / U:24.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site