All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] V4L/DVB: cx25821: fix gcc warning when compiled with allyesconfig
       [not found] <853aa6f8137f702beb216b3aa1d31aff604f38f5.1283951980.git.mchehab@redhat.com>
@ 2010-09-08 13:20 ` Mauro Carvalho Chehab
  0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2010-09-08 13:20 UTC (permalink / raw)
  Cc: Linux Media Mailing List

drivers/staging/cx25821/cx25821-alsa.c:632: warning: ‘cx25821_audio_pci_tbl’ defined but not used

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

diff --git a/drivers/staging/cx25821/cx25821-alsa.c b/drivers/staging/cx25821/cx25821-alsa.c
index a43b188..095562c 100644
--- a/drivers/staging/cx25821/cx25821-alsa.c
+++ b/drivers/staging/cx25821/cx25821-alsa.c
@@ -629,7 +629,7 @@ static int snd_cx25821_pcm(struct cx25821_audio_dev *chip, int device,
  * Only boards with eeprom and byte 1 at eeprom=1 have it
  */
 
-static struct pci_device_id cx25821_audio_pci_tbl[] __devinitdata = {
+static const struct pci_device_id cx25821_audio_pci_tbl[] __devinitdata = {
 	{0x14f1, 0x0920, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
 	{0,}
 };
-- 
1.7.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-08 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <853aa6f8137f702beb216b3aa1d31aff604f38f5.1283951980.git.mchehab@redhat.com>
2010-09-08 13:20 ` [PATCH 2/2] V4L/DVB: cx25821: fix gcc warning when compiled with allyesconfig Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.