isdn/hisax: fix compiler warning on hisax_pci_tbl
Subsystems (2)
PATCH 1/1 isdn/hisax: fix compiler warning on hisax_pci_tbl
Annotate hisax_pci_tbl as '__used' to fix following warning:
CC drivers/isdn/hisax/config.odrivers/isdn/hisax/config.c:1920: warning: ‘hisax_pci_tbl’ defined but not used
--- drivers/isdn/hisax/config.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/isdn/hisax/config.c +1 -1
@@ -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
Signature · 1 line
1.7.0.4
David Miller
maintainerFrom: Namhyung Kim <[email protected]>
Date: Tue, 7 Dec 2010 23:49:06 +0900
Quoted 6 lines
Annotate
hisax_pci_tblas '__used' to fix following warning:CC
drivers/isdn/hisax/config.odrivers/isdn/hisax/config.c:1920: warning: ‘hisax_pci_tbl’ defined but not usedSigned-off-by Namhyung Kim <[email protected]>
This only happens because the hisax driver doesn't actually use this table for probing. Each sub-driver does it's own thing.
What a mess.
Anyways, applied, thank you. �τθΊ{.nΗ+·�+%Λ�±ιέΆ�w�Ί{.nΗ+·�{±ώG«ι�{ayΊΚΪλ,j’f£’·hοκ�κηz_θ�(ιέ’j"ϊΆm§��Ύ«ώG«ι�’Έ?¨θΪ&£ψ§~αΆiOζ¬z·vΨ^Άm§��Γ�Άμ�’Έ?I�