mtd: r852 fix pci ID
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Feb 26 16:59:01 EST 2010
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=d4080cb32ee3d2ed18aa69ffde6010524bd686cd
Commit: d4080cb32ee3d2ed18aa69ffde6010524bd686cd
Parent: 133fa8c7d70d16b07db3a3d87ea18291db8f8ebf
Author: Maxim Levitsky <maximlevitsky at gmail.com>
AuthorDate: Fri Feb 26 23:10:32 2010 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Feb 26 21:29:35 2010 +0000
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 at gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.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), },
{ },
};
More information about the linux-mtd-cvs
mailing list