From: Andrew Morton Date: Thu, 13 Jan 2011 01:00:26 +0000 (-0800) Subject: drivers/telephony/ixj.c: fix warning X-Git-Tag: v2.6.38-rc1~323 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25f959d63d39c83fda09d93a052835ed35669b1a;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/telephony/ixj.c b/drivers/telephony/ixj.c index 0d236f4..c4bc8d5 100644 --- 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); /************************************************************************