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 7/9] mtd: scb2_flash: use DEFINE_PCI_DEVICE_TABLE macro
Date: Thu, 28 Nov 2013 11:34:15 +0900 [thread overview]
Message-ID: <002401ceebe2$545e1030$fd1a3090$%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/scb2_flash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/maps/scb2_flash.c b/drivers/mtd/maps/scb2_flash.c
index 3051c4c..db25dd1 100644
--- a/drivers/mtd/maps/scb2_flash.c
+++ b/drivers/mtd/maps/scb2_flash.c
@@ -214,7 +214,7 @@ static void scb2_flash_remove(struct pci_dev *dev)
release_mem_region(SCB2_ADDR, SCB2_WINDOW);
}
-static struct pci_device_id scb2_flash_pci_ids[] = {
+static DEFINE_PCI_DEVICE_TABLE(scb2_flash_pci_ids) = {
{
.vendor = PCI_VENDOR_ID_SERVERWORKS,
.device = PCI_DEVICE_ID_SERVERWORKS_CSB5,
--
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 ` [PATCH 5/9] mtd: intel_vr_nor: " Jingoo Han
2013-11-28 2:33 ` [PATCH 6/9] mtd: pci: " Jingoo Han
2013-11-28 2:34 ` Jingoo Han [this message]
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='002401ceebe2$545e1030$fd1a3090$%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