From 9e49659f1858a4044739c5ac090274531705af9b Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Fri, 7 Sep 2012 10:17:55 +1000 Subject: [PATCH] drivers/thermal/exynos_thermal.c: fix build error 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 Signed-off-by: Sachin Kamat Cc: Guenter Roeck Cc: Len Brown Cc: "Brown, Len" Signed-off-by: Andrew Morton --- drivers/thermal/exynos_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index 07736eae73b2..f6debad752d7 100644 --- a/drivers/thermal/exynos_thermal.c +++ b/drivers/thermal/exynos_thermal.c @@ -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)) { -- 2.39.5