Skip to contentSkip to conversation

mtd: r852 fix pci ID

PATCH New Maxim Levitsky 1 participant 1 message Feb 26, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: r852 fix pci ID

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

This fixes compile error.

---
 drivers/mtd/nand/r852.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/r852.c +1 -1
index 7a616a9..218a42d 100644
@@ -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), },
 	{ },
 };
 
Signature · 1 line
1.6.3.3