diff options
Diffstat (limited to 'drivers/clocksource/acpi_pm.c')
| -rw-r--r-- | drivers/clocksource/acpi_pm.c | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/clocksource/acpi_pm.c b/drivers/clocksource/acpi_pm.c index 5cfcff53254..e783dbf0f16 100644 --- a/drivers/clocksource/acpi_pm.c +++ b/drivers/clocksource/acpi_pm.c @@ -105,14 +105,11 @@ static inline void acpi_pm_need_workaround(void)   */  static void __devinit acpi_pm_check_blacklist(struct pci_dev *dev)  { -	u8 rev; -  	if (acpi_pm_good)  		return; -	pci_read_config_byte(dev, PCI_REVISION_ID, &rev);  	/* the bug has been fixed in PIIX4M */ -	if (rev < 3) { +	if (dev->revision < 3) {  		printk(KERN_WARNING "* Found PM-Timer Bug on the chipset."  		       " Due to workarounds for a bug,\n"  		       "* this clock source is slow. Consider trying"  |