Explorar el Código

mtd: r852 fix pci ID

The PCI_DEVICE_ID_RICOH_R5C852 was missed in the edited commit, and on 
second thought I just open code it.

This fixes compile error.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Maxim Levitsky hace 15 años
padre
commit
d4080cb32e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/mtd/nand/r852.c

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