summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/r852.c
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2010-02-26 23:10:32 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-02-26 21:29:35 +0000
commitd4080cb32ee3d2ed18aa69ffde6010524bd686cd (patch)
treee79d86ac4eb1f23486557351d4fca6241d5eddee /drivers/mtd/nand/r852.c
parent133fa8c7d70d16b07db3a3d87ea18291db8f8ebf (diff)
downloadlinux-d4080cb32ee3d2ed18aa69ffde6010524bd686cd.tar.gz
linux-d4080cb32ee3d2ed18aa69ffde6010524bd686cd.tar.bz2
linux-d4080cb32ee3d2ed18aa69ffde6010524bd686cd.zip
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>
Diffstat (limited to 'drivers/mtd/nand/r852.c')
-rw-r--r--drivers/mtd/nand/r852.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c
index 7a616a926ee9..218a42dadff1 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), },
{ },
};