diff options
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/sis5595.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c index cf31b4ba65ed..83321b28cf0e 100644 --- a/drivers/hwmon/sis5595.c +++ b/drivers/hwmon/sis5595.c | |||
@@ -79,7 +79,6 @@ static struct platform_device *pdev; | |||
79 | /* Length of ISA address segment */ | 79 | /* Length of ISA address segment */ |
80 | #define SIS5595_EXTENT 8 | 80 | #define SIS5595_EXTENT 8 |
81 | /* PCI Config Registers */ | 81 | /* PCI Config Registers */ |
82 | #define SIS5595_REVISION_REG 0x08 | ||
83 | #define SIS5595_BASE_REG 0x68 | 82 | #define SIS5595_BASE_REG 0x68 |
84 | #define SIS5595_PIN_REG 0x7A | 83 | #define SIS5595_PIN_REG 0x7A |
85 | #define SIS5595_ENABLE_REG 0x7B | 84 | #define SIS5595_ENABLE_REG 0x7B |
@@ -518,7 +517,7 @@ static int __devinit sis5595_probe(struct platform_device *pdev) | |||
518 | platform_set_drvdata(pdev, data); | 517 | platform_set_drvdata(pdev, data); |
519 | 518 | ||
520 | /* Check revision and pin registers to determine whether 4 or 5 voltages */ | 519 | /* Check revision and pin registers to determine whether 4 or 5 voltages */ |
521 | pci_read_config_byte(s_bridge, SIS5595_REVISION_REG, &(data->revision)); | 520 | pci_read_config_byte(s_bridge, PCI_REVISION_ID, &data->revision); |
522 | /* 4 voltages, 1 temp */ | 521 | /* 4 voltages, 1 temp */ |
523 | data->maxins = 3; | 522 | data->maxins = 3; |
524 | if (data->revision >= REV2MIN) { | 523 | if (data->revision >= REV2MIN) { |