diff mbox

[5/9] mtd: intel_vr_nor: use DEFINE_PCI_DEVICE_TABLE macro

Message ID 002201ceebe2$3a9fa3c0$afdeeb40$%han@samsung.com
State New, archived
Headers show

Commit Message

Jingoo Han Nov. 28, 2013, 2:33 a.m. UTC
This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/mtd/maps/intel_vr_nor.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/mtd/maps/intel_vr_nor.c b/drivers/mtd/maps/intel_vr_nor.c
index 46d195f..784f0cd 100644
--- a/drivers/mtd/maps/intel_vr_nor.c
+++ b/drivers/mtd/maps/intel_vr_nor.c
@@ -171,7 +171,7 @@  static int vr_nor_init_maps(struct vr_nor_mtd *p)
 	return err;
 }
 
-static struct pci_device_id vr_nor_pci_ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(vr_nor_pci_ids) = {
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x500D)},
 	{0,}
 };