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

Jingoo Han jg1.han at samsung.com
Wed Nov 27 21:34:52 EST 2013


This macro is used to create a struct pci_device_id array.

Signed-off-by: Jingoo Han <jg1.han at samsung.com>
---
 drivers/mtd/nand/r852.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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), },
 	{ },
-- 
1.7.10.4





More information about the linux-mtd mailing list