From: Jingoo Han <jg1.han@samsung.com>
To: 'Brian Norris' <computersforpeace@gmail.com>
Cc: 'Artem Bityutskiy' <artem.bityutskiy@linux.intel.com>,
'Jingoo Han' <jg1.han@samsung.com>,
'David Woodhouse' <dwmw2@infradead.org>,
linux-mtd@lists.infradead.org
Subject: [PATCH 5/9] mtd: intel_vr_nor: use DEFINE_PCI_DEVICE_TABLE macro
Date: Thu, 28 Nov 2013 11:33:31 +0900 [thread overview]
Message-ID: <002201ceebe2$3a9fa3c0$afdeeb40$%han@samsung.com> (raw)
In-Reply-To: <001e01ceebe1$f5adf370$e109da50$%han@samsung.com>
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 --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,}
};
--
1.7.10.4
next prev parent reply other threads:[~2013-11-28 2:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-28 2:31 [PATCH 1/9] mtd: amd76xrom: use DEFINE_PCI_DEVICE_TABLE macro Jingoo Han
2013-11-28 2:32 ` [PATCH 2/9] mtd: ck804xrom: " Jingoo Han
2013-11-28 2:32 ` [PATCH 3/9] mtd: esb2rom: " Jingoo Han
2013-11-28 2:33 ` [PATCH 4/9] mtd: ichxrom: " Jingoo Han
2013-11-28 2:33 ` Jingoo Han [this message]
2013-11-28 2:33 ` [PATCH 6/9] mtd: pci: " Jingoo Han
2013-11-28 2:34 ` [PATCH 7/9] mtd: scb2_flash: " Jingoo Han
2013-11-28 2:34 ` [PATCH 8/9] mtd: cafe_nand: " Jingoo Han
2013-11-28 2:34 ` [PATCH 9/9] mtd: r852: " Jingoo Han
2013-11-28 4:36 ` [PATCH 1/9] mtd: amd76xrom: " Jingoo Han
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002201ceebe2$3a9fa3c0$afdeeb40$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=artem.bityutskiy@linux.intel.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox