diff options
| -rw-r--r-- | drivers/thermal/rcar_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index d4452716aaa..f7a1b574a30 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c | |||
| @@ -210,7 +210,7 @@ static int rcar_thermal_probe(struct platform_device *pdev) | |||
| 210 | goto error_free_priv; | 210 | goto error_free_priv; |
| 211 | } | 211 | } |
| 212 | 212 | ||
| 213 | zone = thermal_zone_device_register("rcar_thermal", 0, priv, | 213 | zone = thermal_zone_device_register("rcar_thermal", 0, 0, priv, |
| 214 | &rcar_thermal_zone_ops, 0, 0); | 214 | &rcar_thermal_zone_ops, 0, 0); |
| 215 | if (IS_ERR(zone)) { | 215 | if (IS_ERR(zone)) { |
| 216 | dev_err(&pdev->dev, "thermal zone device is NULL\n"); | 216 | dev_err(&pdev->dev, "thermal zone device is NULL\n"); |
