diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-12-15 04:17:07 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2016-01-07 05:06:38 +0300 |
commit | ca1e4558fcca68a5ac2a4e0f7834f788f9f4ac8f (patch) | |
tree | 6f8f9537bcd63342cbb6e9764f574caaed05e1c2 /drivers | |
parent | b0d70338bca22cb14367042a9d5cead116e7f2d9 (diff) | |
download | linux-ca1e4558fcca68a5ac2a4e0f7834f788f9f4ac8f.tar.xz |
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 { # define rcar_force_update_temp(priv) 0 #endif +static const struct of_device_id rcar_thermal_dt_ids[] = { + { .compatible = "renesas,rcar-thermal", }, + {}, +}; +MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids); + /* * basic functions */ @@ -484,12 +490,6 @@ error_unregister: return ret; } -static const struct of_device_id rcar_thermal_dt_ids[] = { - { .compatible = "renesas,rcar-thermal", }, - {}, -}; -MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids); - static struct platform_driver rcar_thermal_driver = { .driver = { .name = "rcar_thermal", |