diff mbox

[9/9] mtd: r852: use DEFINE_PCI_DEVICE_TABLE macro

Message ID 002601ceebe2$6a946750$3fbd35f0$%han@samsung.com
State New, archived
Headers show

Commit Message

Jingoo Han Nov. 28, 2013, 2:34 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/nand/r852.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c
index 325930d..8a2d773 100644
--- a/drivers/mtd/nand/r852.c
+++ b/drivers/mtd/nand/r852.c
@@ -1057,7 +1057,7 @@  static int r852_resume(struct device *device)
 }
 #endif
 
-static const struct pci_device_id r852_pci_id_tbl[] = {
+static DEFINE_PCI_DEVICE_TABLE(r852_pci_id_tbl) = {
 
 	{ PCI_VDEVICE(RICOH, 0x0852), },
 	{ },