Skip to contentSkip to conversation

V4L/DVB: cx25821: fix gcc warning when compiled with allyesconfig

PATCH New Mauro Carvalho Chehab 1 participant 1 message Sep 8, 2010 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 853aa6f8137f702beb216b3aa1d31aff604f38f5.1283951980.git.mchehab@redhat.com

#1 lore raw

PATCH 2/2 V4L/DVB: cx25821: fix gcc warning when compiled with allyesconfig

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

drivers/staging/cx25821/cx25821-alsa.c +1 -1
index a43b188..095562c 100644
@@ -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,}
 };
Signature · 1 line
1.7.1