isdn/hisax: fix compiler warning on hisax_pci_tbl
authorNamhyung Kim <namhyung@gmail.com>
Tue, 7 Dec 2010 04:49:06 +0000 (04:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Dec 2010 18:49:00 +0000 (10:49 -0800)
Annotate hisax_pci_tbl as '__used' to fix following warning:

  CC      drivers/isdn/hisax/config.o
drivers/isdn/hisax/config.c:1920: warning: ‘hisax_pci_tbl’ defined but not used

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/config.c

index b133378d4dc9b1707c749102c345c3c2f7b2d7d4..c110f8679babd4407c44172456272722a879cf8b 100644 (file)
@@ -1917,7 +1917,7 @@ static void EChannel_proc_rcv(struct hisax_d_if *d_if)
 #ifdef CONFIG_PCI
 #include <linux/pci.h>
 
-static struct pci_device_id hisax_pci_tbl[] __devinitdata = {
+static struct pci_device_id hisax_pci_tbl[] __devinitdata __used = {
 #ifdef CONFIG_HISAX_FRITZPCI
        {PCI_VDEVICE(AVM,      PCI_DEVICE_ID_AVM_A1)                    },
 #endif