V4L/DVB: cx25821: fix gcc warning when compiled with allyesconfig
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 8 Sep 2010 13:18:18 +0000 (10:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:04:52 +0000 (01:04 -0200)
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>
drivers/staging/cx25821/cx25821-alsa.c

index bbe36437ac16e02d3d5e00c3f6693838d341996a..2a01dc057b2cb38ecd1564c909737a7478868b20 100644 (file)
@@ -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,}
 };