public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
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 6/9] mtd: pci: use DEFINE_PCI_DEVICE_TABLE macro
Date: Thu, 28 Nov 2013 11:33:54 +0900	[thread overview]
Message-ID: <002301ceebe2$486c0ca0$d94425e0$%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/pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c
index 36da518..d6ffa04 100644
--- a/drivers/mtd/maps/pci.c
+++ b/drivers/mtd/maps/pci.c
@@ -229,7 +229,7 @@ static struct mtd_pci_info intel_dc21285_info = {
  * PCI device ID table
  */
 
-static struct pci_device_id mtd_pci_ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(mtd_pci_ids) = {
 	{
 		.vendor =	PCI_VENDOR_ID_INTEL,
 		.device =	0x530d,
-- 
1.7.10.4

  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 ` [PATCH 5/9] mtd: intel_vr_nor: " Jingoo Han
2013-11-28  2:33 ` Jingoo Han [this message]
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='002301ceebe2$486c0ca0$d94425e0$%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