[PATCH] mtd: r852 fix pci ID

Maxim Levitsky maximlevitsky at gmail.com
Fri Feb 26 16:10:32 EST 2010


The PCI_DEVICE_ID_RICOH_R5C852 was forgotten, and on second thought
I just open code it.

This fixes compile error.

Signed-off-by: Maxim Levitsky <maximlevitsky at gmail.com>
---
 drivers/mtd/nand/r852.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c
index 7a616a9..218a42d 100644
--- a/drivers/mtd/nand/r852.c
+++ b/drivers/mtd/nand/r852.c
@@ -1083,7 +1083,7 @@ int r852_resume(struct device *device)
 
 static const struct pci_device_id r852_pci_id_tbl[] = {
 
-	{ PCI_VDEVICE(RICOH, PCI_DEVICE_ID_RICOH_R5C852), },
+	{ PCI_VDEVICE(RICOH, 0x0852), },
 	{ },
 };
 
-- 
1.6.3.3




More information about the linux-mtd mailing list