diff options
Diffstat (limited to 'drivers/clocksource')
-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 5cfcff532545..e783dbf0f162 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) | |||
105 | */ | 105 | */ |
106 | static void __devinit acpi_pm_check_blacklist(struct pci_dev *dev) | 106 | static void __devinit acpi_pm_check_blacklist(struct pci_dev *dev) |
107 | { | 107 | { |
108 | u8 rev; | ||
109 | |||
110 | if (acpi_pm_good) | 108 | if (acpi_pm_good) |
111 | return; | 109 | return; |
112 | 110 | ||
113 | pci_read_config_byte(dev, PCI_REVISION_ID, &rev); | ||
114 | /* the bug has been fixed in PIIX4M */ | 111 | /* the bug has been fixed in PIIX4M */ |
115 | if (rev < 3) { | 112 | if (dev->revision < 3) { |
116 | printk(KERN_WARNING "* Found PM-Timer Bug on the chipset." | 113 | printk(KERN_WARNING "* Found PM-Timer Bug on the chipset." |
117 | " Due to workarounds for a bug,\n" | 114 | " Due to workarounds for a bug,\n" |
118 | "* this clock source is slow. Consider trying" | 115 | "* this clock source is slow. Consider trying" |