diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-12-07 09:27:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-10 18:20:15 -0500 |
commit | 53139e36cdd7bbc5efcbdc5e70fbff66e2da3c09 (patch) | |
tree | 122b5308def5bf103b6e114ef9c07bcc14aa523c /drivers/char/ip2 | |
parent | fd0f5c54eeb66e3e89e3cdd34c5abf8d5fbcf61c (diff) |
ip2: fix compiler warning on ip2main_pci_tbl
Annotate ip2main_pci_tbl as '__used' to fix following warning:
CC drivers/char/ip2/ip2main.o
drivers/char/ip2/ip2main.c:3227: warning: ‘ip2main_pci_tbl’ defined but not used
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: "Michael H. Warfield" <mhw@wittsend.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/ip2')
-rw-r--r-- | drivers/char/ip2/ip2main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c index fcd02baa7d65..c3a025356b8b 100644 --- a/drivers/char/ip2/ip2main.c +++ b/drivers/char/ip2/ip2main.c | |||
@@ -3224,7 +3224,7 @@ ip2trace (unsigned short pn, unsigned char cat, unsigned char label, unsigned lo | |||
3224 | 3224 | ||
3225 | MODULE_LICENSE("GPL"); | 3225 | MODULE_LICENSE("GPL"); |
3226 | 3226 | ||
3227 | static struct pci_device_id ip2main_pci_tbl[] __devinitdata = { | 3227 | static struct pci_device_id ip2main_pci_tbl[] __devinitdata __used = { |
3228 | { PCI_DEVICE(PCI_VENDOR_ID_COMPUTONE, PCI_DEVICE_ID_COMPUTONE_IP2EX) }, | 3228 | { PCI_DEVICE(PCI_VENDOR_ID_COMPUTONE, PCI_DEVICE_ID_COMPUTONE_IP2EX) }, |
3229 | { } | 3229 | { } |
3230 | }; | 3230 | }; |