aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-01-12 20:00:26 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 11:03:15 -0500
commit25f959d63d39c83fda09d93a052835ed35669b1a (patch)
treef2294d1010b3e0c657fa58066c2b395fd1b0856e /drivers
parente462c448fdc89252d631b26ff0ed4f7ad6fe8ed2 (diff)
drivers/telephony/ixj.c: fix warning
CC drivers/telephony/ixj.o drivers/telephony/ixj.c:287: warning: \u2018ixj_pci_tbl\u2019 defined but not used Reported-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/telephony/ixj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/telephony/ixj.c b/drivers/telephony/ixj.c
index 0d236f4bb8c2..c4bc8d5a9d18 100644
--- a/drivers/telephony/ixj.c
+++ b/drivers/telephony/ixj.c
@@ -284,12 +284,11 @@ static int samplerate = 100;
284 284
285module_param(ixjdebug, int, 0); 285module_param(ixjdebug, int, 0);
286 286
287static struct pci_device_id ixj_pci_tbl[] __devinitdata = { 287static DEFINE_PCI_DEVICE_TABLE(ixj_pci_tbl) = {
288 { PCI_VENDOR_ID_QUICKNET, PCI_DEVICE_ID_QUICKNET_XJ, 288 { PCI_VENDOR_ID_QUICKNET, PCI_DEVICE_ID_QUICKNET_XJ,
289 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, 289 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
290 { } 290 { }
291}; 291};
292
293MODULE_DEVICE_TABLE(pci, ixj_pci_tbl); 292MODULE_DEVICE_TABLE(pci, ixj_pci_tbl);
294 293
295/************************************************************************ 294/************************************************************************