diff options
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 4f724cdd2efa..6dde27ab79a8 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -601,7 +601,7 @@ core_initcall(smu_late_init); | |||
601 | * sysfs visibility | 601 | * sysfs visibility |
602 | */ | 602 | */ |
603 | 603 | ||
604 | static void smu_expose_childs(void *unused) | 604 | static void smu_expose_childs(struct work_struct *unused) |
605 | { | 605 | { |
606 | struct device_node *np; | 606 | struct device_node *np; |
607 | 607 | ||
@@ -611,7 +611,7 @@ static void smu_expose_childs(void *unused) | |||
611 | &smu->of_dev->dev); | 611 | &smu->of_dev->dev); |
612 | } | 612 | } |
613 | 613 | ||
614 | static DECLARE_WORK(smu_expose_childs_work, smu_expose_childs, NULL); | 614 | static DECLARE_WORK(smu_expose_childs_work, smu_expose_childs); |
615 | 615 | ||
616 | static int smu_platform_probe(struct of_device* dev, | 616 | static int smu_platform_probe(struct of_device* dev, |
617 | const struct of_device_id *match) | 617 | const struct of_device_id *match) |