diff options
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/therm_adt746x.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/macintosh/therm_adt746x.c b/drivers/macintosh/therm_adt746x.c index e0ac63effa55..c7e84abe8951 100644 --- a/drivers/macintosh/therm_adt746x.c +++ b/drivers/macintosh/therm_adt746x.c | |||
@@ -545,6 +545,12 @@ thermostat_init(void) | |||
545 | else | 545 | else |
546 | return -ENODEV; | 546 | return -ENODEV; |
547 | 547 | ||
548 | prop = (u32 *)get_property(np, "hwsensor-params-version", NULL); | ||
549 | printk(KERN_INFO "adt746x: version %d (%ssupported)\n", *prop, | ||
550 | (*prop == 1)?"":"un"); | ||
551 | if (*prop != 1) | ||
552 | return -ENODEV; | ||
553 | |||
548 | prop = (u32 *)get_property(np, "reg", NULL); | 554 | prop = (u32 *)get_property(np, "reg", NULL); |
549 | if (!prop) | 555 | if (!prop) |
550 | return -ENODEV; | 556 | return -ENODEV; |