Messages in this thread Patch in this message | | | From | Jingoo Han <> | Subject | [PATCH 3/4] uio: uio_netx: use DEFINE_PCI_DEVICE_TABLE macro | Date | Thu, 28 Nov 2013 11:14:39 +0900 |
| |
This macro is used to create a struct pci_device_id array.
Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/uio/uio_netx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/uio/uio_netx.c b/drivers/uio/uio_netx.c index 4c345db..8e85bfb 100644 --- a/drivers/uio/uio_netx.c +++ b/drivers/uio/uio_netx.c @@ -132,7 +132,7 @@ static void netx_pci_remove(struct pci_dev *dev) kfree(info); } -static struct pci_device_id netx_pci_ids[] = { +static DEFINE_PCI_DEVICE_TABLE(netx_pci_ids) = { { .vendor = PCI_VENDOR_ID_HILSCHER, .device = PCI_DEVICE_ID_HILSCHER_NETX, -- 1.7.10.4
| |