Skip to content

Commit f8bf568

Browse files
namhyungdavem330
authored andcommitted
isdn/hisax: fix compiler warning on hisax_pci_tbl
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>
1 parent 920b8d9 commit f8bf568

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/isdn/hisax/config.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1917,7 +1917,7 @@ static void EChannel_proc_rcv(struct hisax_d_if *d_if)
19171917
#ifdef CONFIG_PCI
19181918
#include <linux/pci.h>
19191919

1920-
static struct pci_device_id hisax_pci_tbl[] __devinitdata = {
1920+
static struct pci_device_id hisax_pci_tbl[] __devinitdata __used = {
19211921
#ifdef CONFIG_HISAX_FRITZPCI
19221922
{PCI_VDEVICE(AVM, PCI_DEVICE_ID_AVM_A1) },
19231923
#endif

0 commit comments

Comments
 (0)