aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/via686a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/via686a.c')
-rw-r--r--drivers/hwmon/via686a.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/hwmon/via686a.c b/drivers/hwmon/via686a.c
index 9427e95f7903..c9dcce8c3dc3 100644
--- a/drivers/hwmon/via686a.c
+++ b/drivers/hwmon/via686a.c
@@ -889,8 +889,8 @@ static int via686a_pci_probe(struct pci_dev *dev,
889 889
890 address = val & ~(VIA686A_EXTENT - 1); 890 address = val & ~(VIA686A_EXTENT - 1);
891 if (address == 0) { 891 if (address == 0) {
892 dev_err(&dev->dev, "base address not set - upgrade BIOS " 892 dev_err(&dev->dev,
893 "or use force_addr=0xaddr\n"); 893 "base address not set - upgrade BIOS or use force_addr=0xaddr\n");
894 return -ENODEV; 894 return -ENODEV;
895 } 895 }
896 896
@@ -899,8 +899,9 @@ static int via686a_pci_probe(struct pci_dev *dev,
899 return -ENODEV; 899 return -ENODEV;
900 if (!(val & 0x0001)) { 900 if (!(val & 0x0001)) {
901 if (!force_addr) { 901 if (!force_addr) {
902 dev_warn(&dev->dev, "Sensors disabled, enable " 902 dev_warn(&dev->dev,
903 "with force_addr=0x%x\n", address); 903 "Sensors disabled, enable with force_addr=0x%x\n",
904 address);
904 return -ENODEV; 905 return -ENODEV;
905 } 906 }
906 907