diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-12-14 20:17:07 -0500 |
|---|---|---|
| committer | Eduardo Valentin <edubezval@gmail.com> | 2016-01-06 21:06:38 -0500 |
| commit | ca1e4558fcca68a5ac2a4e0f7834f788f9f4ac8f (patch) | |
| tree | 6f8f9537bcd63342cbb6e9764f574caaed05e1c2 /drivers | |
| parent | b0d70338bca22cb14367042a9d5cead116e7f2d9 (diff) | |
thermal: rcar: move rcar_thermal_dt_ids to upside
This patch is prepare for of-thermal support.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/thermal/rcar_thermal.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index 13d01edc7a04..96707a6abd7f 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c | |||
| @@ -81,6 +81,12 @@ struct rcar_thermal_priv { | |||
| 81 | # define rcar_force_update_temp(priv) 0 | 81 | # define rcar_force_update_temp(priv) 0 |
| 82 | #endif | 82 | #endif |
| 83 | 83 | ||
| 84 | static const struct of_device_id rcar_thermal_dt_ids[] = { | ||
| 85 | { .compatible = "renesas,rcar-thermal", }, | ||
| 86 | {}, | ||
| 87 | }; | ||
| 88 | MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids); | ||
| 89 | |||
| 84 | /* | 90 | /* |
| 85 | * basic functions | 91 | * basic functions |
| 86 | */ | 92 | */ |
| @@ -484,12 +490,6 @@ error_unregister: | |||
| 484 | return ret; | 490 | return ret; |
| 485 | } | 491 | } |
| 486 | 492 | ||
| 487 | static const struct of_device_id rcar_thermal_dt_ids[] = { | ||
| 488 | { .compatible = "renesas,rcar-thermal", }, | ||
| 489 | {}, | ||
| 490 | }; | ||
| 491 | MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids); | ||
| 492 | |||
| 493 | static struct platform_driver rcar_thermal_driver = { | 493 | static struct platform_driver rcar_thermal_driver = { |
| 494 | .driver = { | 494 | .driver = { |
| 495 | .name = "rcar_thermal", | 495 | .name = "rcar_thermal", |
