mtd: r852 fix pci ID

Submitted by Maxim Levitsky on Feb. 26, 2010, 9:10 p.m.

Details

Message ID 1267218632-5723-1-git-send-email-maximlevitsky@gmail.com
State Accepted
Commit d4080cb32ee3d2ed18aa69ffde6010524bd686cd
Headers show

Commit Message

Maxim Levitsky Feb. 26, 2010, 9:10 p.m.
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@gmail.com>
---
 drivers/mtd/nand/r852.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

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