projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e462c44
)
drivers/telephony/ixj.c: fix warning
author
Andrew Morton
<
[email protected]
>
Thu, 13 Jan 2011 01:00:26 +0000
(17:00 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 13 Jan 2011 16:03:15 +0000
(08:03 -0800)
CC drivers/telephony/ixj.o
drivers/telephony/ixj.c:287: warning: \u2018ixj_pci_tbl\u2019 defined but not used
Reported-by: Namhyung Kim <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/telephony/ixj.c
patch
|
blob
|
history
diff --git
a/drivers/telephony/ixj.c
b/drivers/telephony/ixj.c
index 0d236f4bb8c2daf64c8e6b344752f4b71157dbbd..c4bc8d5a9d18fd43ae3279c436ca23447848044c 100644
(file)
--- a/
drivers/telephony/ixj.c
+++ b/
drivers/telephony/ixj.c
@@
-284,12
+284,11
@@
static int samplerate = 100;
module_param(ixjdebug, int, 0);
-static
struct pci_device_id ixj_pci_tbl[] __devinitdata
= {
+static
DEFINE_PCI_DEVICE_TABLE(ixj_pci_tbl)
= {
{ PCI_VENDOR_ID_QUICKNET, PCI_DEVICE_ID_QUICKNET_XJ,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ }
};
-
MODULE_DEVICE_TABLE(pci, ixj_pci_tbl);
/************************************************************************