uwb: fix compiler warning on whcrc_id_table
Annotate whcrc_id_table as '__used' to fix following warning: CC drivers/uwb/whc-rc.o drivers/uwb/whc-rc.c:452: warning: ‘whcrc_id_table’ defined but not used Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: David Vrabel <david.vrabel@csr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
df4fedeaa6
commit
fc33b0eb38
|
@ -449,7 +449,7 @@ static int whcrc_post_reset(struct umc_dev *umc)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PCI device ID's that we handle [so it gets loaded] */
|
/* PCI device ID's that we handle [so it gets loaded] */
|
||||||
static struct pci_device_id whcrc_id_table[] = {
|
static struct pci_device_id __used whcrc_id_table[] = {
|
||||||
{ PCI_DEVICE_CLASS(PCI_CLASS_WIRELESS_WHCI, ~0) },
|
{ PCI_DEVICE_CLASS(PCI_CLASS_WIRELESS_WHCI, ~0) },
|
||||||
{ /* empty last entry */ }
|
{ /* empty last entry */ }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue