mmc: use pci_dev->revision
commitcf5e23e1c27af4291cf90020c295756ba4dcf326
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 17 Mar 2011 20:46:17 +0000 (17 16:46 -0400)
committerChris Ball <cjb@laptop.org>
Fri, 25 Mar 2011 14:30:49 +0000 (25 10:30 -0400)
tree9a3cf3bac5943b0b73205ddda5d126ec067e4c70
parent5a8fba524c2063cb297bdbacda535448ee365dc4
mmc: use pci_dev->revision

The SDHCI driver uses PCI_CLASS_REVISION instead of PCI_REVISION_ID, so
it was not converted by commit 44c10138fd4bbc4b6d6bff0873c24902f2a9da65
(PCI: Change all drivers to use pci_device->revision). The newer VIA
driver has similar code too. This patch converts both drivers to use
the 'revision' field of 'struct pci_dev'.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Harald Welte <HaraldWelte@viatech.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pci.c
drivers/mmc/host/via-sdmmc.c