[2/2] Thermal: exynos: Add compatible string for exynos4412

Message ID 1366285079-10395-2-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat April 18, 2013, 11:37 a.m.
Added compatible string for Exynos4412 SoC.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Amit Daniel Kachhap <amit.daniel@samsung.com>
---
 drivers/thermal/exynos_thermal.c |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Eduardo Valentin April 22, 2013, 6:27 p.m. | #1
Rui,

On 18-04-2013 07:37, Sachin Kamat wrote:
> Added compatible string for Exynos4412 SoC.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Amit Daniel Kachhap <amit.daniel@samsung.com>

Please add my acked for this patch:

Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>

> ---
>   drivers/thermal/exynos_thermal.c |    4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
> index 9df96e5..d20ce9e 100644
> --- a/drivers/thermal/exynos_thermal.c
> +++ b/drivers/thermal/exynos_thermal.c
> @@ -855,6 +855,10 @@ static const struct of_device_id exynos_tmu_match[] = {
>   		.data = (void *)EXYNOS4210_TMU_DRV_DATA,
>   	},
>   	{
> +		.compatible = "samsung,exynos4412-tmu",
> +		.data = (void *)EXYNOS_TMU_DRV_DATA,
> +	},
> +	{
>   		.compatible = "samsung,exynos5250-tmu",
>   		.data = (void *)EXYNOS_TMU_DRV_DATA,
>   	},
>

Please send a patch to include the documentation for this too.

Patch

diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
index 9df96e5..d20ce9e 100644
--- a/drivers/thermal/exynos_thermal.c
+++ b/drivers/thermal/exynos_thermal.c
@@ -855,6 +855,10 @@  static const struct of_device_id exynos_tmu_match[] = {
 		.data = (void *)EXYNOS4210_TMU_DRV_DATA,
 	},
 	{
+		.compatible = "samsung,exynos4412-tmu",
+		.data = (void *)EXYNOS_TMU_DRV_DATA,
+	},
+	{
 		.compatible = "samsung,exynos5250-tmu",
 		.data = (void *)EXYNOS_TMU_DRV_DATA,
 	},