From 635d8102535fb18e07197677a426af9309948b49 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Tue, 7 Oct 2008 19:46:01 +0200 Subject: [PATCH] Fix the pci quirk for Ricoh R5C832 which disables the mmc controller diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 4557fa3..0737fe9 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -1835,7 +1835,7 @@ DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_RL5C476, quirk_ricoh_rl5c476_mmc_disable); -static void quirk_ricoh_rl5c832_mmc_disable(struct pci_dev *dev) +static void quirk_ricoh_r5c832_mmc_disable(struct pci_dev *dev) { u8 disable; u8 write_enable; @@ -1852,11 +1852,11 @@ static void quirk_ricoh_rl5c832_mmc_disable(struct pci_dev *dev) } DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_RICOH, - PCI_DEVICE_ID_RICOH_RL5C476, - quirk_ricoh_rl5c832_mmc_disable); + PCI_DEVICE_ID_RICOH_R5C832, + quirk_ricoh_r5c832_mmc_disable); DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_RICOH, - PCI_DEVICE_ID_RICOH_RL5C476, - quirk_ricoh_rl5c832_mmc_disable); + PCI_DEVICE_ID_RICOH_R5C832, + quirk_ricoh_r5c832_mmc_disable); #ifdef CONFIG_PCI_MSI /* Some chipsets do not support MSI. We cannot easily rely on setting