diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-12-07 05:49:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-08 19:49:00 +0100 |
commit | f8bf5681cf15f77692c8ad8cb95d059ff7c622c9 (patch) | |
tree | 5f43dbab03ddf0d48adf5333cf79da832d852c59 /drivers/isdn | |
parent | af_packet: fix freeing pg_vec twice on error path (diff) | |
download | linux-f8bf5681cf15f77692c8ad8cb95d059ff7c622c9.tar.xz linux-f8bf5681cf15f77692c8ad8cb95d059ff7c622c9.zip |
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hisax/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c index b133378d4dc9..c110f8679bab 100644 --- a/drivers/isdn/hisax/config.c +++ b/drivers/isdn/hisax/config.c @@ -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 |