]> Pileus Git - ~andy/linux/commitdiff
uio: uio_mf624: remove DEFINE_PCI_DEVICE_TABLE macro
authorJingoo Han <jg1.han@samsung.com>
Mon, 2 Dec 2013 23:27:13 +0000 (08:27 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 06:41:48 +0000 (22:41 -0800)
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro
is not preferred.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_mf624.c

index f764adbfe036861dfccbada4ac9f27152e2f88aa..d1f95a1567bba0a3f598538d5e11dca8308b7f82 100644 (file)
@@ -228,7 +228,7 @@ static void mf624_pci_remove(struct pci_dev *dev)
        kfree(info);
 }
 
-static DEFINE_PCI_DEVICE_TABLE(mf624_pci_id) = {
+static const struct pci_device_id mf624_pci_id[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_HUMUSOFT, PCI_DEVICE_ID_MF624) },
        { 0, }
 };