diff options
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index a83c4acf5710..e8378274d710 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -590,6 +590,8 @@ static void smu_expose_childs(void *unused) | |||
590 | sprintf(name, "smu-i2c-%02x", *reg); | 590 | sprintf(name, "smu-i2c-%02x", *reg); |
591 | of_platform_device_create(np, name, &smu->of_dev->dev); | 591 | of_platform_device_create(np, name, &smu->of_dev->dev); |
592 | } | 592 | } |
593 | if (device_is_compatible(np, "smu-sensors")) | ||
594 | of_platform_device_create(np, "smu-sensors", &smu->of_dev->dev); | ||
593 | } | 595 | } |
594 | 596 | ||
595 | } | 597 | } |