]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/thermal/exynos_thermal.c: fix build error
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 7 Sep 2012 00:17:55 +0000 (10:17 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:06 +0000 (15:36 +1000)
Fix the following error:
drivers/thermal/exynos_thermal.c:393:4: error: too few arguments to function
`thermal_zone_device_register'

Add the missing 'mask' argument.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/thermal/exynos_thermal.c

index 07736eae73b2636d12e81683ef4c773f6d6e027f..f6debad752d7adffb14d1cf3357bfe8816ed504c 100644 (file)
@@ -389,7 +389,7 @@ static int exynos_register_thermal(struct thermal_sensor_conf *sensor_conf)
        th_zone->cool_dev_size = count;
 
        th_zone->therm_dev = thermal_zone_device_register(sensor_conf->name,
-                       EXYNOS_ZONE_COUNT, NULL, &exynos_dev_ops, 0, 0, 0,
+                       EXYNOS_ZONE_COUNT, 0, NULL, &exynos_dev_ops, 0, 0, 0,
                        IDLE_INTERVAL);
 
        if (IS_ERR(th_zone->therm_dev)) {