From: Maxim Levitsky Date: Fri, 26 Feb 2010 21:10:32 +0000 (+0200) Subject: mtd: r852 fix pci ID X-Git-Tag: upstream/snapshot3+hdmi~14560^2~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4080cb32ee3d2ed18aa69ffde6010524bd686cd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: David Woodhouse --- 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), }, { }, };